File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,29 @@ VERSION="$(curl -s https://raw.githubusercontent.com/EmpireProject/Empire/master
99# UPDATE THE SOURCE CODE
1010git pull
1111
12+ # bump version
13+ docker run --rm -v " $PWD " :/app treeder/bump patch
14+ VERSION=` cat VERSION`
15+ echo " version: $VERSION "
16+
1217# ALERT VERSION
1318echo " Building Version: $VERSION "
1419
1520# START BUILD
1621./.build.sh
1722
23+ # TAF, PULL, MERGE DEV
24+ git checkout -b " dev"
25+ git add --all
26+ git commit -m " Empire $VERSION Release"
27+ git tag -a " $VERSION " -m " Empire $VERSION Release"
28+ git push origin " dev"
29+ git push origin " dev" --tags
30+ git checkout master
31+ git merge " dev"
32+ git push
33+ hub release create dev -m " Empire $VERSION Release"
34+
1835# DOCKER TAG/VERSIONING
1936docker tag $USERNAME /$IMAGE :latest $USERNAME /$IMAGE :$VERSION
2037
You can’t perform that action at this time.
0 commit comments