File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 2525 - name : Print Version
2626 run : echo "Bumped to version ${{ steps.cz.outputs.version }}"
2727
28+ - name : Install Poetry
29+ run : |
30+ curl -sSL https://install.python-poetry.org | python3 -
31+ export PATH="$HOME/.local/bin:$PATH"
32+
33+ - name : Update Poetry version in pyproject.toml
34+ run : |
35+ git config --global user.name "github-actions[bot]"
36+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
37+ poetry version "${{ steps.cz.outputs.version }}"
38+ git add pyproject.toml
39+ git commit -m "Update pyproject.toml to version ${{ steps.cz.outputs.version }}"
40+ git push
41+
42+ - name : Update poetry.lock
43+ run : |
44+ git config --global user.name "github-actions[bot]"
45+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
46+ poetry lock
47+ git add poetry.lock
48+ git commit -m "Update poetry.lock for version ${{ steps.cz.outputs.version }}"
49+ git push
50+
51+
2852 release :
2953 name : Release
3054 needs : version
You can’t perform that action at this time.
0 commit comments