Skip to content

Commit 43c6250

Browse files
committed
chore: more logging
1 parent 23ee027 commit 43c6250

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/publish.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,15 @@ cp -R out/ "$PUBLISH_DIR/draft"
1717

1818
echo "Current head: $(git rev-parse HEAD)"
1919
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)"
2024

2125
CURRENT_VERSION=$(git tag --points-at $GITHUB_SHA | grep 'GROQ-\d.*')
2226

27+
echo "Current version: $CURRENT_VERSION"
28+
2329
# If this is a tagged commit, publish to a permalink and index.
2430
if [ -n "$CURRENT_VERSION" ]; then
2531
echo "Publishing to: /$CURRENT_VERSION"

0 commit comments

Comments
 (0)