From e5ecd55b3e5e4abe7d4d9c2a27431a2d8d236ddb Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Tue, 10 Jul 2018 16:00:13 +0200 Subject: [PATCH 1/4] chore(release): update changelog for 0.2.0 --- CHANGELOG.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5026805f16..cab20793b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,52 @@ + +# [0.2.0](https://github.com/garden-io/garden/compare/v0.2.0-0...v0.2.0) (2018-07-10) + + +### Bug Fixes + +* ensure namespace is removed before returning when deleting env ([f381d33](https://github.com/garden-io/garden/commit/f381d33)) +* fixed more issues with cross-repo versioning ([2b0d93e](https://github.com/garden-io/garden/commit/2b0d93e)) +* set identifier max length to match k8s service name limit ([ad0a54f](https://github.com/garden-io/garden/commit/ad0a54f)) +* **create-commands:** rename function type to google-cloud-function ([49c4c93](https://github.com/garden-io/garden/commit/49c4c93)) +* **create-module-command:** type option should be an enum ([a8316d1](https://github.com/garden-io/garden/commit/a8316d1)) +* **file-writer:** only create file if content to write ([562daa8](https://github.com/garden-io/garden/commit/562daa8)) + + +### Code Refactoring + +* **k8s:** change metadata namespace name ([6f73299](https://github.com/garden-io/garden/commit/6f73299)) +* build command is now an array, for consistency ([0bf020a](https://github.com/garden-io/garden/commit/0bf020a)) + + +### Features + +* **cli:** enable custom hints in help message ([37c3159](https://github.com/garden-io/garden/commit/37c3159)) +* add create project/module commands ([b611b35](https://github.com/garden-io/garden/commit/b611b35)) +* allow numeric log levels ([e2a7b6f](https://github.com/garden-io/garden/commit/e2a7b6f)) +* **config:** add `${local.platform}` template key ([1c6d492](https://github.com/garden-io/garden/commit/1c6d492)) +* **container:** add `env` key to specify env vars for containers ([9fa0cb8](https://github.com/garden-io/garden/commit/9fa0cb8)) +* **generic:** add env var support to generic module type ([a5096ee](https://github.com/garden-io/garden/commit/a5096ee)) +* **k8s:** add repo parameter to helm module type ([5d3af14](https://github.com/garden-io/garden/commit/5d3af14)) +* **k8s:** allow specifying default username in k8s provider config ([1e42cfb](https://github.com/garden-io/garden/commit/1e42cfb)) + + +### Performance Improvements + +* generic plugin now keeps track of last built version ([ab3714b](https://github.com/garden-io/garden/commit/ab3714b)) + + +### BREAKING CHANGES + +* Any existing garden.yml files with the `build.command` key set need +to be updated to provide an array of strings as a command, as opposed to +a simple string. +* **k8s:** Existing metadata namespaces will have to be manually cleaned up. +We suggest resetting local k8s clusters after upgrading. +* **container:** The `tests[].variables` config key has been removed from the +`garden.yml` configuration file schema. + + + # [0.2.0](https://github.com/garden-io/garden/compare/v0.2.0-0...v0.2.0) (2018-06-27) From 075537f50bb53fc9763c8927359ca3e023d1efcc Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Tue, 10 Jul 2018 16:01:59 +0200 Subject: [PATCH 2/4] fix(release): publish script should exit on error --- bin/publish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/publish b/bin/publish index f10877420d..fb4f5cbd20 100755 --- a/bin/publish +++ b/bin/publish @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash -eo pipefail garden_root=$(cd `dirname $0` && cd $(git rev-parse --show-toplevel) && pwd) cd ${garden_root} From dce8045649d32e13fc3cfab0c49bb29019151942 Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Tue, 10 Jul 2018 16:03:26 +0200 Subject: [PATCH 3/4] chore(release): publish v0.3.0 --- lerna.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lerna.json b/lerna.json index c94bb7dc25..ccfab1b024 100644 --- a/lerna.json +++ b/lerna.json @@ -7,5 +7,5 @@ "packages": [ "." ], - "version": "0.2.0" + "version": "0.3.0" } diff --git a/package.json b/package.json index 0bf96730d2..1869b2e9e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "garden-cli", - "version": "0.2.0", + "version": "0.3.0", "description": "A full-featured development framework for containers and serverless", "repository": { "type": "git", From 47d05c81e4229a4713e903c7428975f0655a44e6 Mon Sep 17 00:00:00 2001 From: Jon Edvald Date: Tue, 10 Jul 2018 16:07:53 +0200 Subject: [PATCH 4/4] chore(release): fix offset changelog versions --- CHANGELOG.md | 13 ++++--------- bin/publish | 5 ++--- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cab20793b9..3636550c0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ - -# [0.2.0](https://github.com/garden-io/garden/compare/v0.2.0-0...v0.2.0) (2018-07-10) + +# [0.3.0](https://github.com/garden-io/garden/compare/v0.2.0...v0.3.0) (2018-07-10) ### Bug Fixes @@ -48,7 +48,7 @@ We suggest resetting local k8s clusters after upgrading. -# [0.2.0](https://github.com/garden-io/garden/compare/v0.2.0-0...v0.2.0) (2018-06-27) +# [0.2.0](https://github.com/garden-io/garden/compare/v0.1.2...v0.2.0) (2018-06-27) ### Bug Fixes @@ -112,12 +112,7 @@ project.global key. -## [0.1.2](https://github.com/garden-io/garden/compare/v0.1.1-0...v0.1.2) (2018-06-02) - - - - -## [0.1.1-0](https://github.com/garden-io/garden/compare/v0.1.0...v0.1.1-0) (2018-06-02) +## [0.1.2](https://github.com/garden-io/garden/compare/v0.1.0...v0.1.2) (2018-06-02) ### Bug Fixes diff --git a/bin/publish b/bin/publish index fb4f5cbd20..f177ce0d17 100755 --- a/bin/publish +++ b/bin/publish @@ -6,12 +6,11 @@ cd ${garden_root} npm run clean ./bin/check-if-clean -lerna publish - conventional-changelog -p angular -i CHANGELOG.md -s git add CHANGELOG.md version=$(node -p "require('./package.json').version") git commit -m "chore(release): update changelog for ${version}" -git push --no-verify + +lerna publish gulp update-brew