Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target for generating a CHANGELOG from GitHub Milestones. #217

Merged
merged 1 commit into from
May 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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