diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbffa49..492eb40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,18 +23,6 @@ jobs: with: go-version: 1.19.x - - - name: Get previous tag - id: previoustag - run: | - PREVIOUS_TAG=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`) - echo "PREVIOUS_TAG=$PREVIOUS_TAG" >> $GITHUB_OUTPUT - - - name: Display previous tag - run: | - echo "Previous tag: ${{ steps.previoustag.outputs.PREVIOUS_TAG }}" - - - name: Set up Go uses: actions/setup-go@master with: @@ -60,4 +48,3 @@ jobs: GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }} VERSION: ${{ steps.prepare.outputs.tag_name }} USERNAME: ${{ github.repository_owner }} - GORELEASER_PREVIOUS_TAG: ${{ steps.previoustag.outputs.PREVIOUS_TAG }}