Skip to content

Commit 66b5afb

Browse files
author
Jonas Fonseca
committed
Add release process and notes
1 parent 2f23791 commit 66b5afb

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

Makefile

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,21 @@ setup:
1515
npm install -g --prefix node_modules/ gitbook-cli
1616
gitbook install
1717

18-
.PHONY: test site deploy-site setup
18+
release: release-check test
19+
# Update version example in README.md
20+
sed -i "s/[0-9]\+\.[0-9]\+\.[0-9]\+/$(version)/" README.md
21+
# Update notes for unreleased version
22+
sed -i "s/^## master$$/## $(version)/" NEWS.md
23+
# Last review.
24+
$(EDITOR) NEWS.md
25+
# Create release commit and tag.
26+
git diff --exit-code --quiet || git commit -a -m "Version $(version)"
27+
git tag -a -m "Version $(version)" $(version)
28+
@echo "Publish release using: git push origin master $(version)"
29+
30+
release-check:
31+
ifndef version
32+
$(error Please define a version: `make release version=x.y.z`)
33+
endif
34+
35+
.PHONY: test site deploy-site setup release release-check

NEWS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Release notes
2+
3+
## 0.1.0
4+
5+
First official release based on Mesos version 0.25.0.
6+
7+
The main features are:
8+
9+
- Mesos master running Marathon 0.13.0 and Chronos 2.4.0
10+
- Mesos agent with Docker containerizer and cgroups isolation enabled
11+
- Mesos DNS 0.5.1 for core service discovery
12+
- Marathon load balancer using HAProxy for SSL and proxying to internal
13+
applications

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Summary
22

3+
- [Release Notes](NEWS.md)
34
- [Contributing](CONTRIBUTING.md)
45
- [Roles](roles/README.md)
56
- [Mesos](roles/mesos/README.md)

0 commit comments

Comments
 (0)