Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.4.0 #236

Merged
merged 4 commits into from
Aug 17, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/bootstrap-osx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 18 additions & 4 deletions bin/publish
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
72 changes: 72 additions & 0 deletions CHANGELOG.md → garden-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,75 @@
<a name="0.4.0"></a>
# [0.4.0](https://github.com/garden-io/garden/compare/v0.3.0...v0.4.0) (2018-08-14)


### Bug Fixes

* **cli:** allow empty path when calling services via `garden call` ([b5d4972](https://github.com/garden-io/garden/commit/b5d4972))
* **cli:** show ANSI banner image instead of png in dev command ([bb3898f](https://github.com/garden-io/garden/commit/bb3898f))
* **cli:** task results errors weren't handled properly ([b22b580](https://github.com/garden-io/garden/commit/b22b580))
* **k8s:** build status was incorrectly reported for helm modules ([195eee4](https://github.com/garden-io/garden/commit/195eee4))


### Code Refactoring

* **config:** make module name mandatory ([aa83d7f](https://github.com/garden-io/garden/commit/aa83d7f))


### Features

* add exec command, to run commands in running service containers ([7f74edc](https://github.com/garden-io/garden/commit/7f74edc))
* **k8s:** allow specifying namespace to deploy to ([0aebc2b](https://github.com/garden-io/garden/commit/0aebc2b))
* add multi-repo support ([740e858](https://github.com/garden-io/garden/commit/740e858))
* add OpenFaaS plugin (experimental) ([39ff701](https://github.com/garden-io/garden/commit/39ff701))
* add Windows support (experimental) ([9e9c218](https://github.com/garden-io/garden/commit/9e9c218))


### BREAKING CHANGES

* **config:** Module name no longer defaults to directory name but must be explicitly
set in the module's garden.yml file. Any existing garden.yml module files
without a name key must therefore be updated to expclitily provide the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_ expclitily_ -> explicitly

module name.



<a name="0.3.1"></a>
## [0.3.1](https://github.com/garden-io/garden/compare/v0.3.0...v0.3.1) (2018-08-14)


### Bug Fixes

* **cli:** allow empty path when calling services via `garden call` ([b5d4972](https://github.com/garden-io/garden/commit/b5d4972))
* **cli:** show ANSI banner image instead of png in dev command ([bb3898f](https://github.com/garden-io/garden/commit/bb3898f))
* **cli:** task results errors weren't handled properly ([b22b580](https://github.com/garden-io/garden/commit/b22b580))
* **k8s:** build status was incorrectly reported for helm modules ([195eee4](https://github.com/garden-io/garden/commit/195eee4))
* **versioning:** `resolveVersion` should not call `getTreeVersion` ([91ae14f](https://github.com/garden-io/garden/commit/91ae14f))
* **versioning:** version string should include dirty timestamp ([61d29d0](https://github.com/garden-io/garden/commit/61d29d0))


### Code Refactoring

* **config:** make module name mandatory ([aa83d7f](https://github.com/garden-io/garden/commit/aa83d7f))


### Features

* add exec command, to run commands in running service containers ([7f74edc](https://github.com/garden-io/garden/commit/7f74edc))
* **k8s:** allow specifying namespace to deploy to ([0aebc2b](https://github.com/garden-io/garden/commit/0aebc2b))
* add multi-repo support ([740e858](https://github.com/garden-io/garden/commit/740e858))
* add OpenFaaS plugin (experimental) ([39ff701](https://github.com/garden-io/garden/commit/39ff701))
* add Windows support (experimental) ([9e9c218](https://github.com/garden-io/garden/commit/9e9c218))


### BREAKING CHANGES

* **config:** Module name no longer defaults to directory name but must be explicitly
set in the module's garden.yml file. Any existing garden.yml module files
without a name key must therefore be updated to expclitily provide the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expclitily -> explicitly

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are auto-generated from commit messages. I don't think we should rewrite the changelog.

module name.



<a name="0.3.1"></a>
## [0.3.1](https://github.com/garden-io/garden/compare/v0.3.0...v0.3.1) (2018-07-16)

Expand Down
Loading