File tree 2 files changed +10
-21
lines changed
2 files changed +10
-21
lines changed Original file line number Diff line number Diff line change 70
70
run : make pr
71
71
- name : Bump package version
72
72
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 [email protected]
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
88
73
- name : Build python package and wheel
89
74
if : ${{ !inputs.skip_pypi }}
90
75
run : poetry build
Original file line number Diff line number Diff line change 11
11
workflow_dispatch :
12
12
inputs :
13
13
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 "
16
16
required : true
17
17
18
18
jobs :
@@ -37,16 +37,20 @@ jobs:
37
37
run : |
38
38
RELEASE_TAG_VERSION=${{ github.event.inputs.latest_published_version }}
39
39
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
44
40
- name : Install dependencies
45
41
run : make dev
46
42
- name : Setup doc deploy
47
43
run : |
48
44
git config --global user.name Docs deploy
49
45
git config --global user.email [email protected]
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
50
54
- name : Build docs website and API reference
51
55
run : |
52
56
make release-docs VERSION=${RELEASE_TAG_VERSION} ALIAS="latest"
You can’t perform that action at this time.
0 commit comments