You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/actions/semantic/action.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ runs:
41
41
fi
42
42
43
43
echo "new_release_published=`if (grep -q 'The next release version is' release.output); then echo true; else echo false; fi`" >> $GITHUB_OUTPUT
44
-
echo "new_release_version=`grep 'The next release version is' release.output| sed -E 's/.* ([[:digit:].]+)$/\1/'`" >> $GITHUB_OUTPUT
44
+
echo "new_release_version=`if (grep 'The next release version is' release.output); then grep 'The next release version is' release.output | sed -E 's/.* ([[:digit:].]+)$/\1/'; else echo none; fi`" >> $GITHUB_OUTPUT
0 commit comments