diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f1367b..95956dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,6 @@ permissions: jobs: update-version: - name: Update version runs-on: ubuntu-latest permissions: contents: write @@ -20,7 +19,6 @@ jobs: with: fetch-depth: 0 ref: main - - name: Update version run: | DATE=$(date -u +"%Y-%m-%d") @@ -33,7 +31,6 @@ jobs: git add pkg/version/version.go git commit -m "Update version to ${GITHUB_REF_NAME}" git push origin main - goreleaser: needs: update-version runs-on: ubuntu-latest @@ -42,19 +39,12 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - ref: main - + - name: Set up Go uses: actions/setup-go@v5 with: go-version: '>=1.20.0' - # - name: Create vendor archive - # run: | - # go mod vendor - # tar czf vendor.tar.gz vendor/ - # rm -rf vendor - - name: Install Cosign uses: sigstore/cosign-installer@v3.7.0 @@ -62,7 +52,7 @@ jobs: uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser - version: v2.4.8 + version: v2.4.7 args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}