Skip to content

Commit 7bd958a

Browse files
committed
DROP ME
1 parent 535c0d5 commit 7bd958a

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

.github/workflows/prepare-release-branch.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,6 @@ jobs:
1515
- name: Install toml
1616
run: pip install toml
1717

18-
- name: Verify prerequisites
19-
env:
20-
PRERELEASE_VERSION: ${{ github.event.inputs.prerelease_version }}
21-
run: |
22-
if [[ $GITHUB_REF_NAME != main ]]; then
23-
echo this workflow should only be run against main
24-
exit 1
25-
fi
26-
27-
if ! grep --quiet "^## Unreleased$" CHANGELOG.md; then
28-
echo the change log is missing an \"Unreleased\" section
29-
exit 1
30-
fi
31-
32-
if [[ ! -z $PRERELEASE_VERSION ]]; then
33-
stable_version=$(./scripts/eachdist.py version --mode stable)
34-
stable_version=${stable_version//.dev/}
35-
if [[ $PRERELEASE_VERSION != ${stable_version}* ]]; then
36-
echo "$PRERELEASE_VERSION is not a prerelease for the version on main ($stable_version)"
37-
exit 1
38-
fi
39-
fi
40-
4118
create-pull-request-against-release-branch:
4219
runs-on: ubuntu-latest
4320
needs: prereqs

0 commit comments

Comments
 (0)