fix: use deno.land

This commit is contained in:
Skillz4Killz
2022-02-25 18:52:34 +00:00
committed by GitHub
parent a0e6a7e9c3
commit 0d2a3931e2

View File

@@ -17,7 +17,8 @@ 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=$(wget -O- -q https://deno.land/x/discordeno/util/constants.ts | grep 'export const DISCORDENO_VERSION' | awk -F'= ' '{print $2}' | tr -d '"|;')" >> $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