diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42e3cbc..066552f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,20 +18,15 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Fetch all tags run: git fetch --force --tags + - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.18 - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v5 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.PASSPHRASE }} - - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: @@ -39,4 +34,3 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 8ce1c9d..10f54f5 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -7,8 +7,3 @@ builds: goarch: - amd64 main: ./cmd -checksum: - name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS' - algorithm: sha256 -signs: - - artifacts: checksum \ No newline at end of file diff --git a/cmd/cli/root.go b/cmd/cli/root.go index b8f4ad9..5bc0f4b 100644 --- a/cmd/cli/root.go +++ b/cmd/cli/root.go @@ -10,7 +10,7 @@ import ( var rootCmd = &cobra.Command{ Use: "sern", Short: "A powerful CLI tool for Sern.", - Version: "0.1.2", + Version: "0.1.1", Run: func(cmd *cobra.Command, args []string) { fmt.Println("Sern CLI") },