Skip to content

Commit c0e7ad4

Browse files
committed
Removed debug stuff
1 parent 0e773ec commit c0e7ad4

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

.github/workflows/release.yaml

+11-16
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ jobs:
7070
echo "pull_request_number=${PR_NUMBER}" >> $GITHUB_OUTPUT
7171
echo "::notice::PR_NUMBER is ${PR_NUMBER}"
7272
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV
73-
# env:
74-
# GITHUB_TOKEN: ${{ secrets.PAT }}
7573
7674
- name: Bump version
7775
id: bump-version
@@ -82,8 +80,8 @@ jobs:
8280
bump-my-version bump --allow-dirty --verbose "$RELEASE_KIND"
8381
echo "TAG_NAME=$(bump-my-version show current_version)" >> $GITHUB_ENV
8482
export "TAG_NAME=$(bump-my-version show current_version)"
85-
# git push
86-
# git push --tags
83+
git push
84+
git push --tags
8785
echo "PACKAGE=true" >> $GITHUB_ENV
8886
export PACKAGE=true
8987
;;
@@ -126,15 +124,12 @@ jobs:
126124
with:
127125
name: release-notes
128126

129-
- name: show env
130-
run: |
131-
echo ${{ needs.version.outputs.tag-name }}
132-
# - name: Create a GitHub release
133-
# uses: softprops/action-gh-release@v1
134-
# with:
135-
# files: dist/*
136-
# tag_name: "${{ needs.version.outputs.tag-name }}"
137-
# body_path: release-notes.md
138-
#
139-
# - name: Upload package to PyPI
140-
# uses: pypa/gh-action-pypi-publish@release/v1
127+
- name: Create a GitHub release
128+
uses: softprops/action-gh-release@v1
129+
with:
130+
files: dist/*
131+
tag_name: "${{ needs.version.outputs.tag-name }}"
132+
body_path: release-notes.md
133+
134+
- name: Upload package to PyPI
135+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)