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 f3317fe commit 83060f4Copy full SHA for 83060f4
.github/workflows/semantic-release.yaml
@@ -50,8 +50,12 @@ jobs:
50
GH_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
51
run: |
52
output=$(semantic-release version)
53
+ echo "Debug - Full output:"
54
+ echo "$output"
55
+ echo "Debug - Checking for version:"
56
if echo "$output" | grep -q "The next version is"; then
57
echo "released=true" >> $GITHUB_OUTPUT
58
+ echo "version=$(echo "$output" | grep -oP 'The next version is: \K[0-9.]+')" >> $GITHUB_OUTPUT
59
else
60
echo "released=false" >> $GITHUB_OUTPUT
61
fi
0 commit comments