Skip to content

Commit

Permalink
fixed minor release bumping minor "working on..."
Browse files Browse the repository at this point in the history
  • Loading branch information
techjeffharris committed Jul 29, 2015
1 parent 1af9abe commit 3db5884
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ major_release() {
git commit -a -m "release ${RELEASE}"
git checkout master
git merge release-$RELEASE
git branch -d release-$RELEASE
git tag $RELEASE
git branch $BRANCH
# git push $OPTION_REMOTE_REPO $RELEASE $BRANCH
Expand Down Expand Up @@ -90,10 +91,11 @@ minor_release() {
git commit -a -m "release ${RELEASE}"
git checkout $BRANCH
git merge release-$RELEASE
git branch -d release-$RELEASE
git tag $RELEASE
# git push $OPTION_REMOTE_REPO $RELEASE $BRANCH
# npm publish
npm --no-git-tag-version version minor
npm --no-git-tag-version version patch
git commit -a -m "working on ${WORKING_ON}"
}

Expand All @@ -113,7 +115,6 @@ patch_release() {
fi

git checkout -b release-$RELEASE
npm --no-git-tag-version version minor
sed -i "6i ## ${RELEASE}\n`changelog-maker`\n" CHANGES.md
# npm update
# npm test
Expand All @@ -122,10 +123,11 @@ patch_release() {
git commit -a -m "release ${RELEASE}"
git checkout $BRANCH
git merge release-$RELEASE
git branch -d release-$RELEASE
git tag $RELEASE
# git push $OPTION_REMOTE_REPO $RELEASE $BRANCH
# npm publish
npm --no-git-tag-version version minor
npm --no-git-tag-version version patch
git commit -a -m "working on ${WORKING_ON}"
}

Expand Down

0 comments on commit 3db5884

Please # to comment.