Skip to content

Commit

Permalink
Start script to automatically update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
neilsarkar committed Oct 13, 2020
1 parent 247dfc6 commit 5f09ddd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions update.bash
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ namespace VioletUI {
}
EOF

npm version patch

git commit -am "Bump version number"
git push
[[ -z "$1" ]] && { echo "Not updating without changelog."; exit 0; }

{ printf "## [0.1.]"; printf "$1"; cat CHANGELOG.md; } > tmp.md && mv tmp.md CHANGELOG.md
# $(date +%F)
# npm version patch
# git push

0 comments on commit 5f09ddd

Please sign in to comment.