Skip to content

Commit f553ff4

Browse files
committed
bump version
1 parent 8371a55 commit f553ff4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,15 @@ jobs:
6666
asset_path: dist/${{ steps.set-version.outputs.name }}.whl
6767
asset_name: ${{ steps.set-version.outputs.name }}.whl
6868
asset_content_type: application/zip
69+
- uses: actions/checkout@v2
70+
if: github.event_name == 'release'
71+
with:
72+
ref: main
6973
- name: Bump version
7074
if: github.event_name == 'release'
7175
run: |
7276
VERSION=`echo $VERSION | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.`
7377
sed -ie "s/version = .*/version = $VERSION/" setup.cfg
74-
git checkout main
7578
git add setup.cfg
7679
git commit -m 'auto bump version with release'
7780
git push

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = django-iris
3-
version = 0.1.7
3+
version = 0.1.8
44
url = https://github.com/caretdev/django-iris
55
maintainer = CaretDev
66
maintainer_email = [email protected]

0 commit comments

Comments
 (0)