From dac6f90acb8b661c94b311d0ac4cbdd99e365feb Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Fri, 18 Aug 2023 11:53:04 +0800 Subject: [PATCH] feature(main): add init commit Signed-off-by: cuisongliu --- .gitignore | 2 ++ .goreleaser.yml | 11 ++--------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 485dee6..531da7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .idea +dist +sreg diff --git a/.goreleaser.yml b/.goreleaser.yml index 2aeca1e..bdbb614 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,13 +1,5 @@ -before: - hooks: - # You may remove this if you don't use go modules. - - go mod download - # you may remove this if you don't need go generate - - go generate ./... builds: - id: gh-rebot - env: - - CGO_ENABLED=0 goos: - linux goarch: @@ -18,7 +10,8 @@ builds: - -X github.com/labring/sreg/pkg/version.gitVersion={{.Version}} - -X github.com/labring/sreg/pkg/version.gitCommit={{.ShortCommit}} - -X github.com/labring/sreg/pkg/version.buildDate={{.Date}} - + tags: + - containers_image_openpgp checksum: name_template: 'checksums.txt'