From cadcfdeb6a77ea5c639ced81f1533a8627087738 Mon Sep 17 00:00:00 2001 From: Ev-1 <33662061+Ev-1@users.noreply.github.com> Date: Sun, 29 May 2022 14:43:46 +0200 Subject: [PATCH] Update bot version path in build workflow --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62a4b89..d100b61 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,18 +64,18 @@ jobs: if: github.ref == 'refs/heads/master' id: tagger run: | - version=$(grep -i bot_version cogs/utils/bot_version.py | cut -d" " -f3 | tr -d \") + version=$(grep -i bot_version musicbot/cogs/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" cogs/utils/bot_version.py + sed -i "s/${version}/${new_version}/g" musicbot/cogs/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 with: - add: cogs/utils/bot_version.py + add: musicbot/cogs/utils/bot_version.py author_name: MarlinBotCode message: Bump Version tag: v${{ steps.tagger.outputs.tag }}