Skip to content

Commit

Permalink
Add release process and notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Fonseca committed Jan 30, 2016
1 parent 2f23791 commit 66b5afb
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
19 changes: 18 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,21 @@ setup:
npm install -g --prefix node_modules/ gitbook-cli
gitbook install

.PHONY: test site deploy-site setup
release: release-check test
# Update version example in README.md
sed -i "s/[0-9]\+\.[0-9]\+\.[0-9]\+/$(version)/" README.md
# Update notes for unreleased version
sed -i "s/^## master$$/## $(version)/" NEWS.md
# Last review.
$(EDITOR) NEWS.md
# Create release commit and tag.
git diff --exit-code --quiet || git commit -a -m "Version $(version)"
git tag -a -m "Version $(version)" $(version)
@echo "Publish release using: git push origin master $(version)"

release-check:
ifndef version
$(error Please define a version: `make release version=x.y.z`)
endif

.PHONY: test site deploy-site setup release release-check
13 changes: 13 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Release notes

## 0.1.0

First official release based on Mesos version 0.25.0.

The main features are:

- Mesos master running Marathon 0.13.0 and Chronos 2.4.0
- Mesos agent with Docker containerizer and cgroups isolation enabled
- Mesos DNS 0.5.1 for core service discovery
- Marathon load balancer using HAProxy for SSL and proxying to internal
applications
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Summary

- [Release Notes](NEWS.md)
- [Contributing](CONTRIBUTING.md)
- [Roles](roles/README.md)
- [Mesos](roles/mesos/README.md)
Expand Down

0 comments on commit 66b5afb

Please sign in to comment.