Skip to content

Commit

Permalink
smoke test before pushing things
Browse files Browse the repository at this point in the history
  • Loading branch information
jmazzitelli committed Nov 16, 2023
1 parent 30c399b commit 7deb1ca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,19 +219,20 @@ jobs:
git commit -m "Prepare for next version"
hack/smoke-test-release-branch.sh --release-branch HEAD
git push origin $(git rev-parse HEAD):refs/heads/$BUILD_TAG
hack/smoke-test-release-branch.sh --release-branch $BUILD_TAG
gh pr create -t "Prepare for next version" -b "Please, merge to update version numbers and prepare for release $NEXT_VERSION." -H $BUILD_TAG -B $RELEASE_BRANCH
# For a patch release, everything is ready to publish the generated charts.
# Let's push to master
elif [[ $RELEASE_TYPE == "patch" ]]
then
git push origin $(git rev-parse HEAD):refs/heads/$BUILD_TAG
hack/smoke-test-release-branch.sh --release-branch HEAD
hack/smoke-test-release-branch.sh --release-branch $BUILD_TAG
git push origin $(git rev-parse HEAD):refs/heads/$BUILD_TAG
gh pr create -t "Prepare for next version" -b "Please, merge to update version numbers and prepare for release $NEXT_VERSION." -H $BUILD_TAG -B master
Expand Down

0 comments on commit 7deb1ca

Please sign in to comment.