From ff24d0de10eee4dd7ca8e268edf5beadcd112a7e Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Fri, 25 Feb 2022 18:09:44 +0000 Subject: [PATCH] fix: itoh fix for release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eec54380f..429e27f4c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: with: deno-version: ${{ matrix.deno }} - name: Get last tag version - run: echo "DISCORDENO_VERSION_OLD=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV + run: echo "DISCORDENO_VERSION_OLD=$(GITHUB_REF/refs\/tags\//)" >> $GITHUB_ENV - name: Get new tag version run: echo "DISCORDENO_VERSION=$(cat util/constants.ts | grep 'export const DISCORDENO_VERSION' | awk -F'= ' '{print $2}' | tr -d '"|;')" >> $GITHUB_ENV - name: Create tag