21 Commits
0.0.2 ... 0.0.7

Author SHA1 Message Date
Ismo Vuorinen
6b020a6fbf Merge branch 'release-0.0.7' 2016-08-04 17:07:24 +03:00
Ismo Vuorinen
64c82d61cd Incrementing version number to 0.0.7 2016-08-04 17:07:24 +03:00
Ismo Vuorinen
9408ec3c5d Change pushing to do all 2016-08-04 17:06:47 +03:00
Ismo Vuorinen
a9fa72574a Merge branch 'release-0.0.6' 2016-08-04 17:04:03 +03:00
Ismo Vuorinen
92412a5006 Merge branch 'release-0.0.6' into develop 2016-08-04 17:04:03 +03:00
Ismo Vuorinen
0fa05f5f9e Incrementing version number to 0.0.6 2016-08-04 17:04:03 +03:00
Ismo Vuorinen
5af80c229c Ask should we push to origin, with tags 2016-08-04 17:03:36 +03:00
Ismo Vuorinen
bea29b3ce3 Merge branch 'release-0.0.5' 2016-08-04 16:58:10 +03:00
Ismo Vuorinen
497fbd22a7 Merge branch 'release-0.0.5' into develop 2016-08-04 16:58:10 +03:00
Ismo Vuorinen
7514595f35 Incrementing version number to 0.0.5 2016-08-04 16:58:10 +03:00
Ismo Vuorinen
9ac3cdf1f2 Final message to show we are done 2016-08-04 16:54:38 +03:00
Ismo Vuorinen
f8af60b6b1 Merge branch 'release-0.0.4' 2016-08-04 16:45:20 +03:00
Ismo Vuorinen
5d09d34489 Merge branch 'release-0.0.4' into develop 2016-08-04 16:45:20 +03:00
Ismo Vuorinen
73859c9cf3 Incrementing version number to 0.0.4 2016-08-04 16:45:20 +03:00
Ismo Vuorinen
865447cf16 Minor changes to make sure nothing strange happens when releasing 2016-08-04 16:44:53 +03:00
Ismo Vuorinen
f58d1c50dd Merge branch 'release-0.0.3' 2016-08-04 16:41:17 +03:00
Ismo Vuorinen
6bc0934eee Merge branch 'release-0.0.3' into develop 2016-08-04 16:41:17 +03:00
Ismo Vuorinen
cfe7c1b525 Incrementing version number to 0.0.3 2016-08-04 16:41:17 +03:00
Ismo Vuorinen
c23b512b80 If our changelog is missing, create one? 2016-08-04 16:40:25 +03:00
Ismo Vuorinen
e4f313a056 Add missing changelog file 2016-08-04 16:39:44 +03:00
Ismo Vuorinen
dd0341cb92 Merge branch 'release-0.0.2' into develop 2016-08-04 16:36:59 +03:00
3 changed files with 50 additions and 2 deletions

24
CHANGELOG.md Normal file
View File

@@ -0,0 +1,24 @@
## 0.0.7 (2016-08-04)
- 9408ec3c5d22b54d038c0909926ee661fbd7c25c 2016-08-04 | Change pushing to do all (HEAD -> release-0.0.7, develop) [Ismo Vuorinen]
## 0.0.6 (2016-08-04)
- 5af80c229c83d1716876f767fed56fa0352dbaab 2016-08-04 | Ask should we push to origin, with tags (HEAD -> release-0.0.6, develop) [Ismo Vuorinen]
## 0.0.5 (2016-08-04)
- 9ac3cdf1f2ad87a24756614369b6911e4232ac0d 2016-08-04 | Final message to show we are done (HEAD -> release-0.0.5, origin/develop, develop) [Ismo Vuorinen]
## 0.0.4 (2016-08-04)
- 865447cf1637fa413056c4ed0c52a6816eb5d0a4 2016-08-04 | Minor changes to make sure nothing strange happens when releasing (HEAD -> release-0.0.4, develop) [Ismo Vuorinen]
## 0.0.3 (2016-08-04)
- c23b512b808fda4c2cc9edf9f618061a553c61a6 2016-08-04 | If our changelog is missing, create one? (HEAD -> release-0.0.3, develop) [Ismo Vuorinen]
- e4f313a05698acdb55ec30538eab0477b26c0063 2016-08-04 | Add missing changelog file [Ismo Vuorinen]
## 0.0.2 (2016-08-04)
- Changed date format on release header
## 0.0.1 (Elokuu 04, 2016)
- Uncomment rest of the script
- Remove "-f" force option, keeping it simple
- Add our empty VERSION file to generate another commit
- First commit to get things rolling

View File

@@ -1 +1 @@
0.0.2
0.0.7

View File

@@ -58,6 +58,18 @@ if [ ! -f $FILE_VERSION ]; then
fi
fi
# Do we have a file with our changes?
if [ ! -f $FILE_CHANGELOG ]; then
echo -ne "${QUESTION_FLAG} ${CYAN}Can't find changelog file (${FILE_CHANGELOG}), create one?"
read RESPONSE
if [[ $RESPONSE =~ [yY](es)* ]] || [ "$RESPONSE" = "" ]; then
echo "" > $FILE_CHANGELOG
else
exit 1
fi
fi
# Continue to guess new value for our version
BASE_STRING=`cat $FILE_VERSION`
@@ -109,6 +121,9 @@ echo -e "$ADJUSTMENTS_MSG"
read
echo -e "$PUSHING_MSG"
# Make sure changes have been added
git add $FILE_VERSION $FILE_CHANGELOG
# Commit version number increment
git commit -am "Incrementing version number to $NEW_VERSION"
@@ -117,7 +132,7 @@ git checkout $BRANCH_MASTER
git merge --no-ff $BRANCH_RELEASE
# Create tag for new version from -master
git tag $NEW_VERSION
git tag -am "Tag version ${NEW_VERSION}." "$NEW_VERSION"
# Merge release branch with the new version number back into develop
git checkout $BRANCH_DEV
@@ -125,3 +140,12 @@ git merge --no-ff $BRANCH_RELEASE
# Remove release branch
git branch -d $BRANCH_RELEASE
echo -ne "${QUESTION_FLAG} ${CYAN}Push?"
read PUSH
if [[ $PUSH =~ [yY](es)* ]] || [ "$PUSH" = "" ]; then
git push --tags
fi
echo -e "${NOTICE_FLAG} Done!"