From f0afce439b36cc27ec58d9b5d5dbc76e42d74f42 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Sun, 27 Aug 2023 02:06:53 +0800 Subject: [PATCH] refactor(main): delete pre-tag (#8) Signed-off-by: cuisongliu --- .github/workflows/release.yml | 13 ------------- 1 file changed, 13 deletions(-) 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 }}