Preparing 0.1.6 for release
This commit is contained in:
parent
4a0c10fb7a
commit
0ad32c66ef
13
buildall.sh
13
buildall.sh
|
@ -17,6 +17,7 @@ release=""
|
|||
tmp=buildall.tmp.$$
|
||||
trial="FALSE"
|
||||
webappsdir="/var/lib/tomcat8/webapps"
|
||||
gitremote="origin"
|
||||
|
||||
# Builds the build signature properties in the manifest map file
|
||||
# expected arguments: old version tag, version tag, full name of user,
|
||||
|
@ -77,6 +78,7 @@ then
|
|||
-docker Build and push a Docker image.
|
||||
-email [ADDRESS] Your email address, to be recorded in the build signature.
|
||||
-fullname [NAME] Your full name, to be recorded in the build signature.
|
||||
-git-remote [NAME] Use the specified git remote
|
||||
-pull Pull from remote git repository
|
||||
-release [LABEL] Build all components, branch for release on old label, then
|
||||
upversion to new LABEL and commit to master.
|
||||
|
@ -104,7 +106,10 @@ do
|
|||
fullname=$1;;
|
||||
-p|-pull)
|
||||
# pull from remote Git origin
|
||||
git pull origin master;;
|
||||
git pull ${gitremote} master;;
|
||||
-g|-git-remote)
|
||||
shift;
|
||||
gitremote=$1;;
|
||||
-r|-release)
|
||||
# release is branch a release and upversion to new label
|
||||
shift;
|
||||
|
@ -229,7 +234,7 @@ do
|
|||
else
|
||||
git commit -a -m "$message"
|
||||
fi
|
||||
git push origin master
|
||||
git push ${gitremote} master
|
||||
fi
|
||||
|
||||
if [ "${release}" != "" ]
|
||||
|
@ -238,7 +243,7 @@ do
|
|||
if [ "${trial}" = "FALSE" ]
|
||||
then
|
||||
git branch "${branch}"
|
||||
git push origin "${branch}"
|
||||
git push ${gitremote} "${branch}"
|
||||
fi
|
||||
|
||||
cat project.clj > ${tmp}/project.bak.3
|
||||
|
@ -267,7 +272,7 @@ do
|
|||
then
|
||||
git commit -a -m "${message}"
|
||||
echo ${message}
|
||||
git push origin master
|
||||
git push ${gitremote} master
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(defproject mw-engine "0.1.6-SNAPSHOT"
|
||||
(defproject mw-engine "0.1.6"
|
||||
:description "Cellular automaton world builder."
|
||||
:url "http://www.journeyman.cc/microworld/"
|
||||
:manifest {
|
||||
|
|
Loading…
Reference in a new issue