Skip to content

Commit

Permalink
Update RELEASING.md (#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaangiolillo committed Jun 19, 2023
1 parent 0fc96b1 commit 67e8a3a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@
```bash
github_changelog_generator -u mongodb -p terraform-provider-mongodbatlas --enhancement-label "**Enhancements**" --bugs-label "**Bug Fixes**"
```
- Open a PR against the release branch
- Open a PR against the **master** branch

### Pre-release the provider
We pre-release the provider to make for testing purpose. **A Pre-release is not published to the Hashicorp Terraform Registry**.

- Open the GitHub repository release page and click draft a new release
- Fill the pre-release tag and select the correct target branch
- Fill the pre-release tag and select `master` as the target branch

<img width="370" alt="image2" src="https://github.com/mongodb/terraform-provider-mongodbatlas/assets/5663078/e710c0ff-dc00-44c2-9eb6-146cd791d47e">

- Generate Release Notes: Click Generate release notes button to populate release notes
- Set publishing to Pre-release

Expand All @@ -30,7 +29,6 @@ We pre-release the provider to make for testing purpose. **A Pre-release is not

### Release the provider
- Follow the same steps in the pre-release but provide the final release tag (example `v1.9.0`). This will trigger the release action that will release the provider to the GitHub Release page. Harshicorp has a process in place that will retrieve the latest release from the GitHub repository and add the binaries to the Hashicorp Terraform Registry.
- Merge the release branch into master
- **CDKTF Update**: Once the provider has been released, we need to update the provider version in our CDKTF. Raise a PR against [cdktf/cdktf-repository-manager](https://github.com/cdktf/cdktf-repository-manager).
- Example PR: [#183](https://github.com/cdktf/cdktf-repository-manager/pull/183)

0 comments on commit 67e8a3a

Please sign in to comment.