Skip to content

Commit 466d6bb

Browse files
authored
Update publish.yml
1 parent f4e803c commit 466d6bb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ jobs:
1414
name: Check if Release is Ready to Publish
1515
if: github.repository == 'danner26/BulletPrompt' && github.actor == 'danner26'
1616
runs-on: ubuntu-latest
17-
environment:
18-
name: pypi
19-
url: https://pypi.org/project/BulletPrompt/
2017
permissions:
2118
contents: write
2219
outputs:
@@ -65,15 +62,15 @@ jobs:
6562
run: |
6663
git config --global user.name "Daniel W. Anner"
6764
git config --global user.email "daniel.anner@danstechsupport.com"
68-
git tag -a "$CURRENT_TAG" -m "$(git log -1 --pretty=%B)"
65+
git tag -s "$CURRENT_TAG" -m "$(git log -1 --pretty=%B)"
6966
git push origin "$CURRENT_TAG"
7067
7168
publish:
7269
needs: check
7370
if: needs.check.outputs.increment == 'True'
7471
runs-on: ubuntu-latest
7572
environment: # for GitHub Deployments tab
76-
name: Release - PyPI
73+
name: pypi
7774
url: https://pypi.org/p/BulletPrompt/
7875
permissions:
7976
id-token: write # for PyPI trusted publishing
@@ -93,5 +90,5 @@ jobs:
9390
- name: Build package
9491
run: |
9592
python3 setup.py sdist bdist_wheel
96-
- name: Publish package distributions to PyPI
93+
- name: Publish distribution 📦 to PyPI
9794
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)