File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments