mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(release-script): add changelog task
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
"karma-sauce-launcher": "~0.2.0",
|
||||
"karma-script-launcher": "~0.1.0",
|
||||
"load-grunt-tasks": "~0.3.0",
|
||||
"grunt-remove-logging": "~0.2.0"
|
||||
"grunt-remove-logging": "~0.2.0",
|
||||
"grunt-conventional-changelog": "~1.1.0"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
|
||||
@@ -27,13 +27,16 @@ function prepare {
|
||||
mkdir -p release
|
||||
cp -Rf dist/* release
|
||||
|
||||
git add package.json bower.json component.json release
|
||||
grunt changelog
|
||||
|
||||
git add package.json bower.json component.json release CHANGELOG.md
|
||||
git commit -m "chore(release): v$VERSION"
|
||||
git tag -m "v$VERSION" v$VERSION
|
||||
|
||||
echo "--"
|
||||
echo "-- Version is now $VERSION, codename $CODENAME."
|
||||
echo "-- Release commit & tag created."
|
||||
echo "-- Release commit & tag created. Changelog created."
|
||||
echo "-- Suggestion: read over the changelog and fix any mistakes, then run git commit -a --amend."
|
||||
echo "-- When ready to push, run ./scripts/finalize-version.sh --action=publish"
|
||||
echo "--"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user