Skip to content

Commit

Permalink
ci: update release cross-compilation
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
  • Loading branch information
maxgio92 committed Mar 29, 2023
1 parent a02c51e commit 7d6cc38
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
contents: write
packages: write

jobs:
release-cross:
Expand All @@ -21,6 +22,7 @@ jobs:
uses: actions/setup-go@v2
- name: Setup release environment
run: |-
echo 'GITHUB_TOKEN=${{secrets.GORELEASER_ACCESS_TOKEN}}' > .release-env
echo 'GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}' > .release-env
- name: Publish release
run: make release

3 changes: 0 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,3 @@ checksum:

changelog:
sort: asc
filters:
exclude:
- '^[^S][^L][^-][^\d+]*'
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ e2e: clean build $(patsubst %,e2e/%,$(DISTROS))
publish: $(patsubst %,publish/%,$(DISTROS))

PACKAGE_NAME := github.com/maxgio92/$(app)
GOLANG_CROSS_VERSION ?= v$(shell sed -nE 's/go[[:space:]]+([[:digit:]]\.[[:digit:]]+)/\1/p' go.mod)
GOLANG_CROSS_VERSION ?= v1.19.4

.PHONY: release
release:
Expand Down

0 comments on commit 7d6cc38

Please sign in to comment.