-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c4a6b7
commit c74c09a
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` | ||
|