Skip to content

Commit dd9c495

Browse files
committed
Update release.yml
1 parent d405e71 commit dd9c495

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ jobs:
3838
- name: Checkout repository
3939
uses: actions/checkout@v4
4040

41+
- name: Generate versions
42+
uses: HardNorth/github-version-generate@v1
43+
with:
44+
version-source: file
45+
version-file: ${{ env.VERSION_FILE }}
46+
version-file-extraction-pattern: ${{ env.VERSION_EXTRACT_PATTERN }}
47+
4148
- name: Set up Python
4249
uses: actions/setup-python@v5
4350
with:
@@ -49,18 +56,11 @@ jobs:
4956
- name: Build package
5057
run: python setup.py sdist bdist_wheel
5158

52-
- name: Publish package
53-
uses: pypa/gh-action-pypi-publish@release/v1
54-
with:
55-
user: ${{ secrets.PYPI_USERNAME }}
56-
password: ${{ secrets.PYPI_PASSWORD }}
57-
58-
- name: Generate versions
59-
uses: HardNorth/github-version-generate@v1
60-
with:
61-
version-source: file
62-
version-file: ${{ env.VERSION_FILE }}
63-
version-file-extraction-pattern: ${{ env.VERSION_EXTRACT_PATTERN }}
59+
# - name: Publish package
60+
# uses: pypa/gh-action-pypi-publish@release/v1
61+
# with:
62+
# user: ${{ secrets.PYPI_USERNAME }}
63+
# password: ${{ secrets.PYPI_PASSWORD }}
6464

6565
- name: Setup git credentials
6666
uses: oleksiyrudenko/gha-git-credentials@v2-latest

0 commit comments

Comments
 (0)