From 409fe8d642b71045e84d9ac57415c393c2e33ac9 Mon Sep 17 00:00:00 2001 From: Jaekwon Bang Date: Thu, 22 Jul 2021 11:50:42 +0900 Subject: [PATCH] Update publish-release.yml file --- .github/workflows/publish-release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 2bb8280..3672ccf 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -29,6 +29,17 @@ jobs: github_token: ${{ secrets.TOKEN }} branch: main + bumpup-version: + runs-on: ubuntu-latest + steps: + - name: Get lateset release + id: get_release + uses: agners/get-draft-release@v1.2.2 + with: + tag_name: ${{ steps.get_release.outputs.tag_name }} + - name: Bump up version + run: bumpversion --curent-version $tag_name patch setup.py + deploy: runs-on: ubuntu-18.04 needs: update-changelog