Skip to content

Commit

Permalink
feature(main): add init commit
Browse files Browse the repository at this point in the history
Signed-off-by: cuisongliu <cuisongliu@qq.com>
  • Loading branch information
cuisongliu committed Aug 18, 2023
1 parent ba244af commit dac6f90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.idea
dist
sreg
11 changes: 2 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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'
Expand Down

0 comments on commit dac6f90

Please sign in to comment.