Skip to content

Commit

Permalink
Target for generating a CHANGELOG from GitHub Milestones.
Browse files Browse the repository at this point in the history
github-changelog-generator creates some really nice CHANGELOGs
and the newer version coming soon provides even more
flexibility.
  • Loading branch information
markmandel committed May 23, 2018
1 parent 20a7af5 commit 8f340ac
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ go_version_flags = -ldflags "-X agones.dev/agones/pkg.Version=$(VERSION)"

uname := $(shell uname -s)
ifneq ($(findstring Microsoft,$(shell uname -r)),)
osinclude := windows.mk
osinclude := windows.mk
else ifeq ($(uname),Linux)
osinclude := linux.mk
else ifeq ($(uname),Darwin)
Expand Down Expand Up @@ -232,6 +232,14 @@ push-build-image:
docker tag $(build_tag) $(build_remote_tag)
docker push $(build_remote_tag)

# generate a changelog using github-changelog-generator
gen-changelog:
@read -p 'Github Token: ' TOKEN && \
docker run -it --rm -v "$(agones_path)":/usr/local/src/your-app ferrarimarco/github-changelog-generator \
GoogleCloudPlatform/agones --bug-labels=kind/bug --enhancement-labels=kind/feature \
--future-release "v$(base_version).rc" \
--token=$$TOKEN

# Creates a release. Version defaults to the base_version
# - Checks out a release branch
# - Build binaries and images
Expand Down

0 comments on commit 8f340ac

Please sign in to comment.