diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cff660b..b92c0ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,7 @@ jobs: with: go-version: "1.22.4" - name: Get latest Git tag - run: - VERSION=$(git describe --tags --abbrev=0) - echo "VERSION=$VERSION" >> $GITHUB_ENV + run: echo "VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - name: Build run: | mkdir dist @@ -47,9 +45,7 @@ jobs: with: go-version: "1.22.4" - name: Get latest Git tag - run: - VERSION=$(git describe --tags --abbrev=0) - echo "VERSION=$VERSION" >> $GITHUB_ENV + run: echo "VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - name: Build run: | mkdir dist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2e1c189..3d0a297 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,9 +15,7 @@ jobs: with: go-version: "1.22.4" - name: Get latest Git tag - run: - VERSION=$(git describe --tags --abbrev=0) - echo "VERSION=$VERSION" >> $GITHUB_ENV + run: echo "VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - name: Build run: | mkdir dist