From d8ba9100dc5dcca68dcceeecd5289a56604aa79d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Weslley=20Ara=C3=BAjo?= <46850407+wellwelwel@users.noreply.github.com> Date: Thu, 5 Sep 2024 01:11:28 -0300 Subject: [PATCH] cd: predict next canary version (#736) --- .github/workflows/cd_publish-canary.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cd_publish-canary.yml b/.github/workflows/cd_publish-canary.yml index 882b0270..e3f7958b 100644 --- a/.github/workflows/cd_publish-canary.yml +++ b/.github/workflows/cd_publish-canary.yml @@ -72,6 +72,7 @@ jobs: - name: ⚙️ Git Hash if: steps.check_commit.outputs.publish == 'true' run: | + npm version patch --no-git-tag-version VERSION=$(node -p "require('./package.json').version") SHORT_SHA=$(git rev-parse --short HEAD) echo "VERSION=${VERSION}-canary.${SHORT_SHA}" >> $GITHUB_ENV