Skip to content

Commit

Permalink
fix gitlab cd
Browse files Browse the repository at this point in the history
  • Loading branch information
anhoder committed Sep 25, 2022
1 parent 072fe53 commit 0fa74c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ builds:
goos:
- linux
ldflags:
- -s -w -X go-musicfox/pkg/constants.AppVersion={{.Tag}} -X go-musicfox/pkg/constants.LastfmKey={{ .Env.HOMEBREW_TAP_TOKEN }} -X go-musicfox/pkg/constants.LastfmSecret={{ .Env.HOMEBREW_TAP_TOKEN }}
- -s -w -X go-musicfox/pkg/constants.AppVersion={{.Tag}} -X go-musicfox/pkg/constants.LastfmKey={{.Env.LASTFM_KEY}} -X go-musicfox/pkg/constants.LastfmSecret={{.Env.LASTFM_SECRET}}
# - id: go-musicfox-linux-arm64
# binary: musicfox
# hooks:
Expand All @@ -40,7 +40,7 @@ builds:
goos:
- windows
ldflags:
- -s -w -X go-musicfox/pkg/constants.AppVersion={{.Tag}} -X go-musicfox/pkg/constants.LastfmKey={{ .Env.HOMEBREW_TAP_TOKEN }} -X go-musicfox/pkg/constants.LastfmSecret={{ .Env.HOMEBREW_TAP_TOKEN }}
- -s -w -X go-musicfox/pkg/constants.AppVersion={{.Tag}} -X go-musicfox/pkg/constants.LastfmKey={{.Env.LASTFM_KEY}} -X go-musicfox/pkg/constants.LastfmSecret={{.Env.LASTFM_SECRET}}
env:
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
Expand All @@ -52,7 +52,7 @@ builds:
goos:
- darwin
ldflags:
- -s -w -X go-musicfox/pkg/constants.AppVersion={{.Tag}} -X go-musicfox/pkg/constants.LastfmKey={{ .Env.HOMEBREW_TAP_TOKEN }} -X go-musicfox/pkg/constants.LastfmSecret={{ .Env.HOMEBREW_TAP_TOKEN }}
- -s -w -X go-musicfox/pkg/constants.AppVersion={{.Tag}} -X go-musicfox/pkg/constants.LastfmKey={{.Env.LASTFM_KEY}} -X go-musicfox/pkg/constants.LastfmSecret={{.Env.LASTFM_SECRET}}
env:
- CC=oa64-clang
- CXX=oa64-clang++
Expand All @@ -64,7 +64,7 @@ builds:
goos:
- darwin
ldflags:
- -s -w -X go-musicfox/pkg/constants.AppVersion={{.Tag}} -X go-musicfox/pkg/constants.LastfmKey={{ .Env.HOMEBREW_TAP_TOKEN }} -X go-musicfox/pkg/constants.LastfmSecret={{ .Env.HOMEBREW_TAP_TOKEN }}
- -s -w -X go-musicfox/pkg/constants.AppVersion={{.Tag}} -X go-musicfox/pkg/constants.LastfmKey={{.Env.LASTFM_KEY}} -X go-musicfox/pkg/constants.LastfmSecret={{.Env.LASTFM_SECRET}}
env:
- CC=o64-clang
- CXX=o64-clang++
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ release-dry-run:
--rm \
--privileged \
-e CGO_ENABLED=1 \
--env-file .release-env \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-v `pwd`/sysroot:/sysroot \
Expand Down

0 comments on commit 0fa74c4

Please sign in to comment.