From c67d299984b63c46f8ef1d1d611d59901e0ae8e3 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Mon, 11 Mar 2024 12:45:32 -0500 Subject: [PATCH] Put bump version back --- .github/workflows/release.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 02c9de0..22b0915 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,19 +14,19 @@ jobs: - name: Checkout uses: actions/checkout@v2 - # - name: Bump version - # run: >- - # bin/bump_version.py + - name: Bump version + run: >- + bin/bump_version.py - # - name: Commit updated version.py - # id: commit_updated - # run: | - # git config --global user.name 'github-actions' - # git config --global user.email 'bot@noreply.github.com' - # git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} - # git add setup.py - # git commit -m "bump version" && git push || echo "No changes to commit" - # git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}' + - name: Commit updated version.py + id: commit_updated + run: | + git config --global user.name 'github-actions' + git config --global user.email 'bot@noreply.github.com' + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} + git add setup.py + git commit -m "bump version" && git push || echo "No changes to commit" + git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}' - name: Get version id: get_version