From d6c6ae57d5be7d73690dc1e7e0b1e5880b835897 Mon Sep 17 00:00:00 2001 From: Ev-1 <33662061+Ev-1@users.noreply.github.com> Date: Sun, 2 Oct 2022 21:56:46 +0200 Subject: [PATCH] Remove bump tag --- .github/workflows/build.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35d8819..9e568fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,17 +45,6 @@ jobs: echo "::set-output name=username::$(echo ${_username} | cut -d/ -f1 | tr '[:upper:]' '[:lower:]')" echo "::set-output name=repo::$(echo ${_repo} | tr '[:upper:]' '[:lower:]')" - - name: Bump TAG - if: github.ref == 'refs/heads/master' - id: tagger - run: | - version=$(grep -i bot_version musicbot/utils/bot_version.py | cut -d" " -f3 | tr -d \") - a=(${version//./ }) - ((a[2]++)) - new_version=$(echo "${a[0]}.${a[1]}.${a[2]}") - sed -i "s/${version}/${new_version}/g" musicbot/utils/bot_version.py - echo "::set-output name=tag::${new_version}" - - name: Push changed files, and tags if: github.ref == 'refs/heads/master' uses: EndBug/add-and-commit@v4