Skip to content

Commit

Permalink
fix version (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <paskal.maksim@gmail.com>
  • Loading branch information
maksim-paskal committed Nov 12, 2023
1 parent 85dc21c commit e262f99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ sslInit:

build:
git tag -d `git tag -l "helm-chart-*"`
go run github.com/goreleaser/goreleaser@latest build --clean --snapshot --skip-validate
go run github.com/goreleaser/goreleaser@latest build --clean --snapshot --skip=validate
mv ./dist/pod-admission-controller_linux_amd64_v1/pod-admission-controller pod-admission-controller
docker build --pull --push . -t $(image)

Expand Down
1 change: 1 addition & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func main() { //nolint:funlen

if *version {
fmt.Println(config.GetVersion()) //nolint:forbidigo
os.Exit(0)
}

if err := config.Load(); err != nil {
Expand Down

0 comments on commit e262f99

Please sign in to comment.