File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
inputs :
6
6
version :
7
- description : ' Version to release'
7
+ description : ' Version to release - make sure its same as setup.py '
8
8
required : true
9
9
changelog :
10
10
description : ' Release changelog description'
29
29
with :
30
30
python-version : ${{ matrix.python-version }}
31
31
32
- - name : Update version in setup.py
33
- run : |
34
- sed -i "s/version=.*,/version='${{ github.event.inputs.version }}',/" setup.py
35
-
36
32
- name : Install dependencies
37
33
run : |
38
34
python -m pip install --upgrade pip
70
66
fi
71
67
72
68
- name : Create Git Tag
73
- run : |
74
- git config user.name github-actions
75
- git config user.email github-actions@github.com
76
- git add version.txt
77
- git commit -m "Bump version to ${{ github.event.inputs.version }}"
78
- git tag v${{ github.event.inputs.version }}
79
- git push origin main
80
- git push origin v${{ github.event.inputs.version }}
69
+ uses : EndBug/latest-tag@latest
70
+ with :
71
+ tag-name : v${{ github.event.inputs.version }}
81
72
82
73
- name : Create GitHub Release
83
74
uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments