Skip to content

Commit 82af8fb

Browse files
Clone develop after the changes are made
1 parent 82816e3 commit 82af8fb

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ jobs:
1313
steps:
1414
- name: get version from tag
1515
run: |
16-
VERSION=${{ github.ref_name }}
16+
VERSION=${{ github.ref_name }}
1717
echo "Version = $VERSION"
1818
echo "VERSION=$VERSION" >> $GITHUB_ENV
1919
20-
- name: git clone develop
20+
- name: git clone
2121
uses: actions/checkout@v4
22-
with:
23-
ref: develop
2422

2523
- name: Set up Python
2624
uses: actions/setup-python@v4
@@ -33,7 +31,7 @@ jobs:
3331
pip install build twine hatch
3432
3533
- name: upgrade version with hatch
36-
run: hatch version $VERSION
34+
run: hatch version ${{ env.VERSION }}
3735

3836
- name: build binary wheel and source tarball
3937
env:
@@ -54,6 +52,11 @@ jobs:
5452
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
5553
run: twine upload dist/*
5654

55+
- name: git clone develop
56+
uses: actions/checkout@v4
57+
with:
58+
ref: develop
59+
5760
- name: commit new version
5861
run: |
5962
git config --global user.name "Nextmv Bot"

0 commit comments

Comments
 (0)