Merge pull request #1803 from aluzzardi/autorel-version

ci: switch auto release to patch versions
This commit is contained in:
Andrea Luzzardi 2022-03-14 22:41:58 -07:00 committed by GitHub
commit 69b4845d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 \