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 43c6250 commit ff4fe6eCopy full SHA for ff4fe6e
scripts/publish.sh
@@ -18,11 +18,11 @@ cp -R out/ "$PUBLISH_DIR/draft"
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)"
+echo "Current tag: $(git tag --points-at $GITHUB_SHA)"
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.*')
+CURRENT_VERSION=$(git tag --points-at "$GITHUB_SHA" | grep -E 'GROQ-[0-9].*')
26
27
echo "Current version: $CURRENT_VERSION"
28
0 commit comments