Skip to content

Commit

Permalink
Remove gren from release process
Browse files Browse the repository at this point in the history
  • Loading branch information
caseydavenport committed Apr 4, 2018
1 parent fefbf83 commit 33dfe0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
9 changes: 0 additions & 9 deletions .grenrc.yml

This file was deleted.

16 changes: 1 addition & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 33dfe0a

Please sign in to comment.