Skip to content

Commit ffb25d5

Browse files
committed
Update release.yml
1 parent 1b49cea commit ffb25d5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ jobs:
4646
echo "PRIOR_VERSION_WHEN_PATCH=$prior_version_when_patch" >> $GITHUB_ENV
4747
4848
- run: |
49-
if [[ -z $PRIOR_VERSION_WHEN_PATCH ]]; then
50-
# not making a patch release
51-
if ! grep --quiet "^## Version ${STABLE_VERSION}/${UNSTABLE_VERSION} " CHANGELOG.md; then
52-
echo the pull request generated by prepare-release-branch.yml needs to be merged first
53-
exit 1
49+
if [[ -z $PRIOR_VERSION_WHEN_PATCH ]]; then
50+
# not making a patch release
51+
if ! grep --quiet "^## Version ${STABLE_VERSION}/${UNSTABLE_VERSION} " CHANGELOG.md; then
52+
echo the pull request generated by prepare-release-branch.yml needs to be merged first
53+
exit 1
54+
fi
5455
fi
55-
fi
5656
5757
# check out main branch to verify there won't be problems with merging the change log
5858
# at the end of this workflow

0 commit comments

Comments
 (0)