Skip to content

Commit 4f03470

Browse files
committed
tweak
1 parent c3a319b commit 4f03470

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/update-generated-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ jobs:
2424
id: versions
2525
run: |
2626
CURRENT_DOCS_VERSION=$(cat .github/workflows/current_docs_version.txt)
27-
LATEST_VERSION=$(git -C ../gitbutler tag --sort=-version:refname | grep '^nightly/' | head -n 1)
27+
LATEST_VERSION=$(git -C ../gitbutler tag --list 'nightly/*' --sort=-version:refname | head -n 1)
28+
29+
echo "Current: $CURRENT_DOCS_VERSION"
30+
echo "Latest: $LATEST_VERSION"
2831
2932
echo "latest_version=$LATEST_VERSION" >> "$GITHUB_OUTPUT"
3033

0 commit comments

Comments
 (0)