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

chore: add tfe test as pre-step to releasing #1872

Merged
merged 1 commit into from
Jun 20, 2022
Merged
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
23 changes: 14 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,23 +209,28 @@ We recommend enabling logging when you develop new features. To get detailed inf

## Releasing

(this section is work in progress, but contains useful information)

### Steps

#### Before the release

Most of our tests are automated but there are some workflows we need to manually test for now.

- Test `cdktf` against Terraform Enterprise

#### Terraform CDK

1. Create a new branch (e.g. `prepare-release-0.9.0`)
2. Update the [CHANGELOG](./CHANGELOG.md)
2. Update the [CHANGELOG](./CHANGELOG.md): `./tools/create-changelog.sh` should get you a good start
3. Update the version in the root `package.json`
4. Write an [upgrade guide](website/docs/cdktf/release/)
5. Create a PR to merge the new branch into `main`
6. Merge the PR
7. A new release will be build and published because the version changed
8. Update the prebuilt provider repository [like this](https://github.com/hashicorp/cdktf-repository-manager/pull/48) (If the release contains breaking changes the commit message needs to have a `!` after the scope so that the minor version is bumped. Example: `chore!: update cdktf version`)
9. Run the [prebuilt provider upgrade workflow](https://github.com/hashicorp/cdktf-repository-manager/actions/workflows/upgrade-repositories.yml)
10. Update the learn examples and the end to end examples
11. Check if there are PRs left behind on our [triage board](https://github.com/orgs/hashicorp/projects/125/views/4)
6. Merge the PR, a new release will be build and published because the version changed

#### After the release

- Update the prebuilt provider repository [like this](https://github.com/hashicorp/cdktf-repository-manager/pull/48) (If the release contains breaking changes the commit message needs to have a `!` after the scope so that the minor version is bumped. Example: `chore!: update cdktf version`) and run the [prebuilt provider upgrade workflow](https://github.com/hashicorp/cdktf-repository-manager/actions/workflows/upgrade-repositories.yml)
- Update the learn examples and the end to end examples
- Check if there are PRs left behind on our [triage board](https://github.com/orgs/hashicorp/projects/125/views/4)

### Repositories to update

Expand Down