Skip to content

Commit

Permalink
added initial release documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alonswartz committed Jul 5, 2016
1 parent 3c4a6b7 commit c74c09a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## update changelog, create signed tag and push to github

```
contrib/generate-changelog > CHANGELOG.tmp
mv CHANGELOG.tmp CHANGELOG.md
$EDITOR CHANGELOG.md # verify version is correct and tweak
VERSION=$(head -1 CHANGELOG.md | awk '{print $2}')
git add CHANGELOG.md
git commit -m "changelog: updated for $VERSION release"
git tag -s -m "$VERSION release" $VERSION
git push github
git push github --tags
```

## build docker image, test and publish (to be done automatically via ci)

```
docker build -t tklx/mongodb:$VERSION -t tklx/mongodb:latest .
IMAGE=tklx/mongodb:$VERSION bats --tap tests/basics.bats
docker push tklx/mongodb:$VERSION
docker push tklx/mongodb:latest
```

0 comments on commit c74c09a

Please sign in to comment.