diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 6882866..f1ee34e 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -25,14 +25,8 @@ jobs: - name: Install npm dependencies run: npm ci - - name: list tags & refs - run: | - echo "GITHUB_REF=$GITHUB_REF" - git tag --list - git show-ref --tags || true - - name: Get version from git tag - run: echo "VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV + run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Update version.php run: |