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 ff4fe6e commit 5fd3c5dCopy full SHA for 5fd3c5d
scripts/publish.sh
@@ -15,17 +15,8 @@ echo "Publishing to: /draft"
15
rm -rf "$PUBLISH_DIR/draft"
16
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 $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 -E 'GROQ-[0-9].*')
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