refactor: revert back to v0.1.1

This commit is contained in:
Allyedge
2022-06-06 10:20:38 +02:00
parent 336d31a16d
commit e9560e8874
3 changed files with 3 additions and 14 deletions

View File

@@ -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 }}

View File

@@ -7,8 +7,3 @@ builds:
goarch:
- amd64
main: ./cmd
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
signs:
- artifacts: checksum

View File

@@ -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")
},