From d2545b9a68fe6dc52cf56c5cb1f3ae32668ff6e2 Mon Sep 17 00:00:00 2001 From: Ryan McGinty Date: Thu, 29 Feb 2024 19:33:33 -0800 Subject: [PATCH] updating auto-tag gh action (WIP) --- .github/workflows/auto_tag.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto_tag.yml b/.github/workflows/auto_tag.yml index 599d1f8..205834e 100644 --- a/.github/workflows/auto_tag.yml +++ b/.github/workflows/auto_tag.yml @@ -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 @@ -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