Skip to content

Commit

Permalink
Run go-makefile-maker
Browse files Browse the repository at this point in the history
  • Loading branch information
sapcc-bot committed Oct 11, 2023
1 parent 860e142 commit e671453
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: goreleaser
tags:
- v[0-9]+.[0-9]+.[0-9]+
permissions:
contents: write
contents: read
packages: write
jobs:
release:
Expand All @@ -26,7 +26,9 @@ jobs:
check-latest: true
go-version: "1.21"
- name: Generate release info
run: make build/release-info
run: |
go install github.com/sapcc/go-bits/tools/release-info@latest
release-info CHANGELOG.md $(shell git describe --tags --abbrev=0) > build/release-info
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ endif

default: build-all

build/release-info: CHANGELOG.md | build
@if ! hash release-info 2>/dev/null; then printf "\e[1;36m>> Installing release-info...\e[0m\n"; go install github.com/sapcc/go-bits/tools/release-info@latest; fi
release-info $< $(shell git describe --tags --abbrev=0) > $@

GO_BUILDFLAGS = -mod vendor
GO_LDFLAGS =
GO_TESTENV =
Expand Down

0 comments on commit e671453

Please sign in to comment.