diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b30aa6..a52775b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,7 @@ jobs: - name: Update version in source code run: | + git fetch latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) version=${latest_tag#v} bash release.sh $version ${{ secrets.GPG_KEY_ID }}