From 1c93b7bd52c69d09ac1e7ffd49c4ad08c02fcacc Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Mon, 8 Apr 2024 10:54:10 -0700 Subject: [PATCH] Revert "disable bump for post1 version" This reverts commit 2d4be347e9de4ccd7659b3f221b59c3a5224f279. --- .github/workflows/release.yml | 24 ++++++++++++------------ setup.py | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 361787f..6c0b19c 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 diff --git a/setup.py b/setup.py index 408a899..b608426 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open("README.md", "r") as fh: # This call to setup() does all the work setup( name="meshtastic", - version="2.3.4.post1", + version="2.3.4", description="Python API & client shell for talking to Meshtastic devices", long_description=long_description, long_description_content_type="text/markdown",