@@ -103,6 +103,7 @@ bootstrap-tools: $(TEMPDIR)
103
103
GO111MODULE=off GOBIN=$(shell realpath $(TEMPDIR ) ) go get -u golang.org/x/perf/cmd/benchstat
104
104
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(TEMPDIR ) / v1.42.1
105
105
curl -sSfL https://raw.githubusercontent.com/wagoodman/go-bouncer/master/bouncer.sh | sh -s -- -b $(TEMPDIR ) / v0.2.0
106
+ curl -sSfL https://raw.githubusercontent.com/anchore/chronicle/main/install.sh | sh -s -- -b $(TEMPDIR ) / v0.1.2-beta
106
107
.github/scripts/goreleaser-install.sh -b $(TEMPDIR ) / v0.177.0
107
108
108
109
.PHONY : bootstrap-go
@@ -251,31 +252,14 @@ cli: $(SNAPSHOTDIR) ## Run CLI tests
251
252
252
253
.PHONY : changlog-release
253
254
changelog-release :
254
- @echo " Last tag: $( SECOND_TO_LAST_TAG) "
255
- @docker run --rm \
256
- -v " $( shell pwd) " :/usr/local/src/your-app \
257
- ferrarimarco/github-changelog-generator \
258
- --user anchore \
259
- --project $(BIN ) \
260
- -t ${GITHUB_TOKEN} \
261
- --exclude-labels ' duplicate,question,invalid,wontfix,size:small,size:medium,size:large,size:x-large' \
262
- --no-pr-wo-labels \
263
- --no-issues-wo-labels \
264
- --since-tag $(SECOND_TO_LAST_TAG )
255
+ $(TEMPDIR ) /chronicle --since-tag $(SECOND_TO_LAST_TAG ) --until-tag $(LAST_TAG ) -vv > CHANGELOG.md
265
256
266
257
@printf '\n$(BOLD)$(CYAN)Release $(VERSION) Changelog$(RESET)\n\n'
267
258
@cat CHANGELOG.md
268
259
269
260
.PHONY : changelog-unreleased
270
261
changelog-unreleased : # # show the current changelog that will be produced on the next release (note: requires GITHUB_TOKEN set)
271
- @docker run -it --rm \
272
- -v " $( shell pwd) " :/usr/local/src/your-app \
273
- ferrarimarco/github-changelog-generator \
274
- --user anchore \
275
- --project $(BIN ) \
276
- -t ${GITHUB_TOKEN} \
277
- --exclude-labels ' duplicate,question,invalid,wontfix,size:small,size:medium,size:large,size:x-large' \
278
- --since-tag $(LAST_TAG )
262
+ $(TEMPDIR ) /chronicle --since-tag $(LAST_TAG ) -vv > CHANGELOG.md
279
263
280
264
@printf '\n$(BOLD)$(CYAN)Unreleased Changes (closed PRs and issues will not be in the final changelog)$(RESET)\n'
281
265
0 commit comments