Skip to content

Commit 71f84b2

Browse files
use git flow for releases
1 parent 5354b6a commit 71f84b2

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

readme.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,5 @@ Done from github actions using [sbt-ci-release](https://github.com/olafurpg/sbt-
121121

122122
eg
123123
```
124-
git tag -a v0.2.5 -m "v0.2.5"
125-
git push origin v0.2.5
124+
./release 'v0.2.5'
126125
```

release.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
version="$1"
4+
5+
echo "step 1"
6+
git flow release start "$version"
7+
echo "step 2"
8+
git flow release finish -m '$version' "$version"
9+
echo "step 3"
10+
git checkout develop

0 commit comments

Comments
 (0)