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 04b5d40 commit 41d983fCopy full SHA for 41d983f
.github/actions/analyze-release/action.yml
@@ -21,7 +21,8 @@ runs:
21
- name: Get latest stable tag
22
id: get_tag
23
run: |
24
- TAG=$(git tag --sort=-creatordate | grep -E '^v?[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)
+ TAGS=$(git tag --sort=-creatordate | grep -E '^v?[0-9]+\.[0-9]+\.[0-9]+$' || true)
25
+ TAG=$(echo "$TAGS" | head -n 1)
26
if [ -z "$TAG" ]; then
27
echo "No stable tag found, assuming first release"
28
echo "found_tag=false" >> $GITHUB_OUTPUT
0 commit comments