ci: switch auto release to patch versions

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2022-03-14 22:36:32 -07:00
parent 82de3d4aca
commit 085862200c

View File

@ -66,7 +66,7 @@ jobs:
# Rather than installing it on every run, we commit it locally so that we have everything we need locally # Rather than installing it on every run, we commit it locally so that we have everything we need locally
# wget https://raw.githubusercontent.com/fsaintjacques/semver-tool/3.3.0/src/semver # wget https://raw.githubusercontent.com/fsaintjacques/semver-tool/3.3.0/src/semver
# https://github.com/fsaintjacques/semver-tool # https://github.com/fsaintjacques/semver-tool
next_release_version="v$(./semver bump ${SEMVER_BUMP:=prerel alpha..} $previous_release_version)" next_release_version="v$(./semver bump ${SEMVER_BUMP:=patch} $previous_release_version)"
fi fi
echo "NEXT RELEASE VERSION: $next_release_version" echo "NEXT RELEASE VERSION: $next_release_version"
gh api -X POST /repos/:owner/:repo/git/refs \ gh api -X POST /repos/:owner/:repo/git/refs \