fix(ci): publish releases from main pushes
This commit is contained in:
1 parent
88a344efcb
commit
653d380797
5 files changed
+10
-15
No files matched your search
@@ -45,6 +45,9 @@ case "$bump" in
|
||||
2) minor=$((minor + 1)); patch=0 ;;
|
||||
1) patch=$((patch + 1)) ;;
|
||||
esac
|
||||
if [ "${1:-}" = "--next-release" ] && [ "$bump" -eq 0 ]; then
|
||||
patch=$((patch + 1))
|
||||
fi
|
||||
next="$major.$minor.$patch"
|
||||
|
||||
case "${1:-}" in
|
||||
|
||||
Reference in new issue
Block a user