From 500e6bbbfc213c820d9778b00d01aed9b69ee95a Mon Sep 17 00:00:00 2001 From: Gabriel Porteiro <71458971+GportDev@users.noreply.github.com> Date: Tue, 30 Jul 2024 15:53:01 -0500 Subject: [PATCH] Bump version to 0.3.36 --- .github/workflows/python-publish.yml | 20 +------------------- docs/version.py | 2 +- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 03695b0..f83f471 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -20,11 +20,6 @@ jobs: with: python-version: "3.x" - - name: Fetch all commit messages - run: | - git fetch --prune --unshallow - git fetch --all - - name: Determine version bump id: version run: | @@ -60,9 +55,7 @@ jobs: if [ ! -f docs/version.py ]; then echo "__version__ = \"$version\"" > docs/version.py else - # Update version in docs/version.py - echo "Updating docs/version.py to version $version" - sed -i "s/__version__ = \".*\"/__version__ = \"$version\"/" docs/version.py + echo "Updating to version $version" fi if git diff --quiet; then @@ -70,17 +63,6 @@ jobs: exit 0 fi - - name: Commit and push version bump - if: success() - env: - GH_PAT: ${{ secrets.BUMP_VERSION_GABRIEL }} - run: | - git config --local user.email "github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - git add docs/version.py - git commit -m "Bump version to $version" - git push https://x-access-token:${{ secrets.BUMP_VERSION_GABRIEL }}@github.com/${{ github.repository }}.git HEAD:main - build: name: Build distribution 📦 needs: update-version diff --git a/docs/version.py b/docs/version.py index 2c056af..14f8e0d 100644 --- a/docs/version.py +++ b/docs/version.py @@ -9,4 +9,4 @@ # ------------------------------------------------------------- # Version of Hydra according to pip -__version__ = "0.3.34" +__version__ = "0.3.36"