Skip to content

Commit

Permalink
Fixed release CI
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Jose Medina Godoy <[email protected]>
  • Loading branch information
juamedgod committed Mar 4, 2024
1 parent 9685444 commit a948faf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ builds:
env:
- CGO_ENABLED=0
- GO111MODULE=on
main: ./main.go
main: ./cmd/
binary: charts-syncer
ldflags:
- -X github.com/bitnami/charts-syncer/cmd.version={{.Version}}
- -X main.version={{.Version}}
dockers:
-
ids:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SHELL = /usr/bin/env bash
OUTPUT = ./dist/charts-syncer
GO_SOURCES = $(shell find . -type f -name '*.go')
VERSION := $(or $(VERSION), dev)
LDFLAGS="-X github.com/bitnami/charts-syncer/cmd.version=$(VERSION)"
LDFLAGS="-X main.version=$(VERSION)"
GOPATH ?= $(shell go env GOPATH)
export GOBIN := $(abspath $(GOPATH)/bin)
export GO111MODULE := on
Expand Down

0 comments on commit a948faf

Please sign in to comment.