Skip to content

Commit 1b49cea

Browse files
committed
Update release.yml
1 parent 62d2495 commit 1b49cea

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ jobs:
4545
4646
echo "PRIOR_VERSION_WHEN_PATCH=$prior_version_when_patch" >> $GITHUB_ENV
4747
48-
- 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
54-
fi
48+
- 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
5554
fi
55+
fi
5656
57-
# check out main branch to verify there won't be problems with merging the change log
58-
# at the end of this workflow
57+
# check out main branch to verify there won't be problems with merging the change log
58+
# at the end of this workflow
5959
- uses: actions/checkout@v3
6060
with:
6161
ref: main

0 commit comments

Comments
 (0)