message: fix: release error handling
diff: @@ -16,9 +16,11 @@ jobs:
  - uses: denoland/setup-deno@main
  with:
  deno-version: ${{ matrix.deno }}
  - - name: Get tag version
  - id: get_tag_version
  + - name: Get last tag version
  + run: echo "DISCORDENO_VERSION_OLD=$(git describe --tags --abbrev=0)" >> $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
  + if: ${{ env.DISCORDENO_VERSION != env.DISCORDENO_VERSION_OLD }}
  run: git tag ${{ env.DISCORDENO_VERSION }} && git push --tags
  