Skip to content

Commit

Permalink
Merge pull request #69 from tntech-ngin/version/0.3.36
Browse files Browse the repository at this point in the history
Bump version to 0.3.36
  • Loading branch information
GportDev authored Jul 30, 2024
2 parents 7395163 + 500e6bb commit 9239673
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -60,27 +55,14 @@ 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
echo "No changes to commit."
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
Expand Down
2 changes: 1 addition & 1 deletion docs/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# -------------------------------------------------------------

# Version of Hydra according to pip
__version__ = "0.3.34"
__version__ = "0.3.36"

0 comments on commit 9239673

Please sign in to comment.