From 1cdc1f601b1b5a90c651cf7ebe2d4dcf2b3d9043 Mon Sep 17 00:00:00 2001 From: James Pogran Date: Mon, 18 Apr 2022 09:26:28 -0400 Subject: [PATCH] Release 2.0.0 --- CHANGELOG.md | 21 ++++++++++++++++++++- README.md | 16 ++++++++-------- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 31 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f48e7fd..8f17b33a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +# [2.0.0] (2022-04-18) + +BREAKING CHANGES: + +* Support Actions Runners v2.285.0 or later by upgrading to Nodejs v16 runtime by @chenrui333 in https://github.com/hashicorp/setup-terraform/pull/170 + +NOTES: + +* docs: Update existing PR comments example by @tobiasbueschel in https://github.com/hashicorp/setup-terraform/pull/178 +* Update Terraform versions and usage in README examples by @ksatirli in https://github.com/hashicorp/setup-terraform/pull/176 +* Update grammar in README.md by @dustindortch in https://github.com/hashicorp/setup-terraform/pull/180 + +INTERNAL: + +* Bump @actions/github from 5.0.0 to 5.0.1 by @dependabot in https://github.com/hashicorp/setup-terraform/pull/177 +* dependabot: track github-actions dependency changes by @chenrui333 in https://github.com/hashicorp/setup-terraform/pull/179 + # [1.4.0] (2022-04-04) NOTES: @@ -79,7 +96,9 @@ INTERNAL: - Initial release. -[Unreleased]: https://github.com/hashicorp/setup-terraform/compare/v1.3.2...main +[Unreleased]: https://github.com/hashicorp/setup-terraform/compare/v2.0.0...main +[2.0.0]: https://github.com/hashicorp/setup-terraform/compare/v1.4.0...v2.0.0 +[1.4.0]: https://github.com/hashicorp/setup-terraform/compare/v1.3.2...v1.4.0 [1.3.2]: https://github.com/hashicorp/setup-terraform/compare/v1.3.1...v1.3.2 [1.3.1]: https://github.com/hashicorp/setup-terraform/compare/v1.3.0...v1.3.1 [1.3.0]: https://github.com/hashicorp/setup-terraform/compare/v1.2.1...v1.3.0 diff --git a/README.md b/README.md index 205210e7..79f33051 100644 --- a/README.md +++ b/README.md @@ -21,14 +21,14 @@ The default configuration installs the latest version of Terraform CLI and insta ```yaml steps: -- uses: hashicorp/setup-terraform@v1 +- uses: hashicorp/setup-terraform@v2 ``` A specific version of Terraform CLI can be installed. ```yaml steps: -- uses: hashicorp/setup-terraform@v1 +- uses: hashicorp/setup-terraform@v2 with: terraform_version: 1.1.7 ``` @@ -37,7 +37,7 @@ Credentials for Terraform Cloud ([app.terraform.io](https://app.terraform.io/)) ```yaml steps: -- uses: hashicorp/setup-terraform@v1 +- uses: hashicorp/setup-terraform@v2 with: cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} ``` @@ -46,7 +46,7 @@ Credentials for Terraform Enterprise (TFE) can be configured: ```yaml steps: -- uses: hashicorp/setup-terraform@v1 +- uses: hashicorp/setup-terraform@v2 with: cli_config_credentials_hostname: 'terraform.example.com' cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} @@ -56,7 +56,7 @@ The wrapper script installation can be skipped by setting the `terraform_wrapper ```yaml steps: -- uses: hashicorp/setup-terraform@v1 +- uses: hashicorp/setup-terraform@v2 with: terraform_wrapper: false ``` @@ -66,7 +66,7 @@ Subsequent steps can access outputs when the wrapper script is installed. ```yaml steps: -- uses: hashicorp/setup-terraform@v1 +- uses: hashicorp/setup-terraform@v2 - run: terraform init @@ -86,7 +86,7 @@ defaults: working-directory: ${{ env.tf_actions_working_dir }} steps: - uses: actions/checkout@v2 -- uses: hashicorp/setup-terraform@v1 +- uses: hashicorp/setup-terraform@v2 - name: Terraform fmt id: fmt @@ -152,7 +152,7 @@ defaults: working-directory: ${{ env.tf_actions_working_dir }} steps: - uses: actions/checkout@v2 -- uses: hashicorp/setup-terraform@v1 +- uses: hashicorp/setup-terraform@v2 - name: Terraform fmt id: fmt diff --git a/package-lock.json b/package-lock.json index 7920fa35..abb0f2ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "setup-terraform", - "version": "1.4.0", + "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "setup-terraform", - "version": "1.4.0", + "version": "2.0.0", "hasInstallScript": true, "license": "MPL-2.0", "dependencies": { diff --git a/package.json b/package.json index ac0b3eb1..221ce7ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-terraform", - "version": "1.4.0", + "version": "2.0.0", "description": "Setup Terraform CLI for GitHub Actions", "license": "MPL-2.0", "publisher": "hashicorp",