From c0e7ad4b84bcac847039b02ed245b3b9b2b37200 Mon Sep 17 00:00:00 2001 From: Corey Oordt Date: Tue, 17 Dec 2024 11:48:51 -0600 Subject: [PATCH] Removed debug stuff --- .github/workflows/release.yaml | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 900864e..137aa5b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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 ;; @@ -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