Skip to content

Commit

Permalink
Removed debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Dec 17, 2024
1 parent 0e773ec commit c0e7ad4
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ jobs:
echo "pull_request_number=${PR_NUMBER}" >> $GITHUB_OUTPUT
echo "::notice::PR_NUMBER is ${PR_NUMBER}"
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV
# env:
# GITHUB_TOKEN: ${{ secrets.PAT }}
- name: Bump version
id: bump-version
Expand All @@ -82,8 +80,8 @@ jobs:
bump-my-version bump --allow-dirty --verbose "$RELEASE_KIND"
echo "TAG_NAME=$(bump-my-version show current_version)" >> $GITHUB_ENV
export "TAG_NAME=$(bump-my-version show current_version)"
# git push
# git push --tags
git push
git push --tags
echo "PACKAGE=true" >> $GITHUB_ENV
export PACKAGE=true
;;
Expand Down Expand Up @@ -126,15 +124,12 @@ jobs:
with:
name: release-notes

- name: show env
run: |
echo ${{ needs.version.outputs.tag-name }}
# - name: Create a GitHub release
# uses: softprops/action-gh-release@v1
# with:
# files: dist/*
# tag_name: "${{ needs.version.outputs.tag-name }}"
# body_path: release-notes.md
#
# - name: Upload package to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
- name: Create a GitHub release
uses: softprops/action-gh-release@v1
with:
files: dist/*
tag_name: "${{ needs.version.outputs.tag-name }}"
body_path: release-notes.md

- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit c0e7ad4

Please sign in to comment.