From 33dfe0a458e51fc873c6d4e2a33792bcca4d6a0d Mon Sep 17 00:00:00 2001 From: Casey Davenport Date: Wed, 4 Apr 2018 10:12:33 -0700 Subject: [PATCH] Remove gren from release process --- .grenrc.yml | 9 --------- Makefile | 16 +--------------- RELEASING.md | 4 ++-- 3 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 .grenrc.yml diff --git a/.grenrc.yml b/.grenrc.yml deleted file mode 100644 index 8747a332..00000000 --- a/.grenrc.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- - dataSource: "prs" - prefix: "" - onlyMilestones: false - changelogFilename: "CHANGELOG.md" - groupBy: - Notable changes: ["release-note-required"] - template: - label: "" diff --git a/Makefile b/Makefile index cb384136..9a26cb20 100644 --- a/Makefile +++ b/Makefile @@ -217,22 +217,8 @@ release-publish: release-prereqs docker push calico/kube-controllers:$(VERSION) docker push quay.io/calico/kube-controllers:$(VERSION) - # Make a draft of the release notes. - $(MAKE) release-notes - @echo "Complete the release process on GitHub" - -# Run gren in a container in order to generate a GitHub release with the correct -# release notes. See here for more info: https://github.com/github-tools/github-release-notes -release-notes: release-prereqs -ifndef GITHUB_TOKEN - $(error GITHUB_TOKEN is undefined - run using make release-notes GITHUB_TOKEN=X) -endif - docker run -ti --rm \ - -v $(PWD):/code \ - -e GREN_GITHUB_TOKEN=$(GITHUB_TOKEN) \ - -e VERSION=$(VERSION) \ - node bash -c "npm install github-release-notes -g && cd /code && gren release -d -t $(VERSION)" + @echo " - https://github.com/projectcalico/kube-controllers/releases" # WARNING: Only run this target if this release is the latest stable release. Do NOT # run this target for alpha / beta / release candidate builds, or patches to earlier Calico versions. diff --git a/RELEASING.md b/RELEASING.md index cda46967..b4c598c5 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -18,6 +18,6 @@ You should have no local changes and tests should be passing. 1. Create a tag: `make release-tag VERSION=v1.0.0` 1. Create the artifacts: `make release-build VERSION=v1.0.0` 1. Verify it: `make release-verify VERSION=v1.0.0` -1. Publish images and create a GitHub release draft: `make release-publish VERSION=v1.0.0` -1. Publish the GitHub release draft by following the link printed to screen. +1. Publish images: `make release-publish VERSION=v1.0.0` +1. Publish the GitHub release by following the link printed to screen.