File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,15 @@ jobs:
66
66
asset_path : dist/${{ steps.set-version.outputs.name }}.whl
67
67
asset_name : ${{ steps.set-version.outputs.name }}.whl
68
68
asset_content_type : application/zip
69
+ - uses : actions/checkout@v2
70
+ if : github.event_name == 'release'
71
+ with :
72
+ ref : main
69
73
- name : Bump version
70
74
if : github.event_name == 'release'
71
75
run : |
72
76
VERSION=`echo $VERSION | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.`
73
77
sed -ie "s/version = .*/version = $VERSION/" setup.cfg
74
- git checkout main
75
78
git add setup.cfg
76
79
git commit -m 'auto bump version with release'
77
80
git push
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = django-iris
3
- version = 0.1.7
3
+ version = 0.1.8
4
4
url = https://github.com/caretdev/django-iris
5
5
maintainer = CaretDev
6
6
maintainer_email =
[email protected]
You can’t perform that action at this time.
0 commit comments