fix: itoh fix for release

This commit is contained in:
Skillz4Killz
2022-02-25 18:09:44 +00:00
committed by GitHub
parent 6ecd4f88ce
commit ff24d0de10

View File

@@ -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