We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23ee027 commit 43c6250Copy full SHA for 43c6250
scripts/publish.sh
@@ -17,9 +17,15 @@ cp -R out/ "$PUBLISH_DIR/draft"
17
18
echo "Current head: $(git rev-parse HEAD)"
19
echo "Current dir: $(pwd)"
20
+echo "Current branch: $(git branch --show-current)"
21
+echo "Current tag: $(git tag --points-at HEAD)"
22
+echo "Current SHA: $GITHUB_SHA"
23
+echo "All tags: $(git tag -l)"
24
25
CURRENT_VERSION=$(git tag --points-at $GITHUB_SHA | grep 'GROQ-\d.*')
26
27
+echo "Current version: $CURRENT_VERSION"
28
+
29
# If this is a tagged commit, publish to a permalink and index.
30
if [ -n "$CURRENT_VERSION" ]; then
31
echo "Publishing to: /$CURRENT_VERSION"
0 commit comments