Skip to content

Commit

Permalink
updating auto-tag gh action (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpmcginty committed Mar 1, 2024
1 parent 853afa5 commit d2545b9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/auto_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
name: Update Repo Tag and Version
runs-on: ubuntu-latest
needs: tag
if: github.actor != 'github-actions[bot]' && needs.tag.outputs.part != 'none'
if: github.actor != 'github-actions[bot]' && !inputs.dry_run && needs.tag.outputs.part != 'none'
steps:
- uses: actions/checkout@v4
# This sets up the git user for the GitHub bot
Expand All @@ -74,6 +74,5 @@ jobs:
git add src/**/_version.py
git commit -m "Bump version to ${{ env.VERSION_TAG }}"
git tag -a ${{ env.VERSION_TAG }} -m "Release ${{ env.VERSION_TAG }}"
git push origin main

git push
git push --tags

0 comments on commit d2545b9

Please sign in to comment.