-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #236 from garden-io/release-0.4.0
Release 0.4.0
- Loading branch information
Showing
10 changed files
with
2,830 additions
and
2,867 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ nvm install 10 | |
nvm alias default 10 | ||
|
||
# install/update global packages | ||
npm install -g [email protected] | ||
npm install -g -U lerna | ||
|
||
# install CircleCI CLI | ||
curl -o /usr/local/bin/circleci https://circle-downloads.s3.amazonaws.com/releases/build_agent_wrapper/circleci | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,31 @@ | ||
#!/usr/bin/env bash -eo pipefail | ||
#!/usr/bin/env bash | ||
set -eo pipefail | ||
|
||
garden_root=$(cd `dirname $0` && cd $(git rev-parse --show-toplevel) && pwd) | ||
cd ${garden_root} | ||
|
||
npm install | ||
lerna bootstrap | ||
|
||
npm run clean | ||
./bin/check-if-clean | ||
|
||
lerna publish | ||
lerna version --no-push | ||
git reset HEAD~1 | ||
|
||
conventional-changelog -p angular -i CHANGELOG.md -s -r 2 | ||
# TODO: set this up to work with multiple packages | ||
cd garden-cli | ||
../node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md --commit-path . -s | ||
git add CHANGELOG.md | ||
version=$(node -p "require('./package.json').version") | ||
git commit -m "chore(release): update changelog for ${version}" | ||
git commit -m "chore(release): release ${version}" | ||
|
||
cd .. | ||
|
||
git push --tags --no-verify | ||
git push --no-verify | ||
|
||
lerna publish from-git "$@" | ||
|
||
cd garden-cli | ||
gulp update-brew |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.