File tree Expand file tree Collapse file tree 2 files changed +10
-21
lines changed Expand file tree Collapse file tree 2 files changed +10
-21
lines changed Original file line number Diff line number Diff line change 7070 run : make pr
7171 - name : Bump package version
7272 run : poetry version ${RELEASE_VERSION}
73- - name : Generate latest CHANGELOG
74- if : ${{ !inputs.skip_pypi }}
75- run : make changelog
76- - name : Setup git client
77- run : |
78- git config user.name "Release bot"
79- git config user.email aws-devax-open-source@amazon.com
80- # Maintenance: temporarily disable until we confirm the correct permissions due to the new lockdown
81- # - name: Push project metadata and changelog to trunk
82- # if: ${{ !inputs.skip_pypi }}
83- # run: |
84- # git add CHANGELOG.md
85- # git add pyproject.toml
86- # git commit -m "chore(ci): update project with version ${RELEASE_VERSION}"
87- # git push origin HEAD:refs/heads/develop
8873 - name : Build python package and wheel
8974 if : ${{ !inputs.skip_pypi }}
9075 run : poetry build
Original file line number Diff line number Diff line change 1111 workflow_dispatch :
1212 inputs :
1313 latest_published_version :
14- description : " Latest PyPi published version to rebuild latest docs for, e.g. v1.22.0 "
15- default : " v1.22.0 "
14+ description : " Latest PyPi published version to rebuild latest docs for, e.g. v1.26.7 "
15+ default : " v1.26.7 "
1616 required : true
1717
1818jobs :
@@ -37,16 +37,20 @@ jobs:
3737 run : |
3838 RELEASE_TAG_VERSION=${{ github.event.inputs.latest_published_version }}
3939 echo "RELEASE_TAG_VERSION=${RELEASE_TAG_VERSION:1}" >> $GITHUB_ENV
40- - name : Ensure new version is also set in pyproject and CHANGELOG
41- run : |
42- grep --regexp "${RELEASE_TAG_VERSION}" CHANGELOG.md
43- grep --regexp "version \= \"${RELEASE_TAG_VERSION}\"" pyproject.toml
4440 - name : Install dependencies
4541 run : make dev
4642 - name : Setup doc deploy
4743 run : |
4844 git config --global user.name Docs deploy
4945 git config --global user.email aws-devax-open-source@amazon.com
46+ - name : Generate latest CHANGELOG
47+ run : make changelog
48+ - name : Push project metadata and changelog to trunk
49+ run : |
50+ git add CHANGELOG.md
51+ git add pyproject.toml
52+ git commit -m "chore(ci): update project with version ${RELEASE_VERSION}"
53+ git push origin HEAD:refs/heads/develop
5054 - name : Build docs website and API reference
5155 run : |
5256 make release-docs VERSION=${RELEASE_TAG_VERSION} ALIAS="latest"
You can’t perform that action at this time.
0 commit comments