Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit fa4b84e

Browse files
committed
docs: add publishing instructions to the contributing README
1 parent 89bb023 commit fa4b84e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

CONTRIBUTING.md

+23
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,26 @@ module "example" {
4949
source = "git::https://github.com/<USERNAME>/<REPO>.git//<MODULE-NAME>?ref=<BRANCH-NAME>"
5050
}
5151
```
52+
53+
## Releases
54+
55+
> [!WARNING]
56+
> Version numbers are very important for publishing to Terraform. If the version number is incorrect in any way, there is a risk that some modules could stop working.
57+
58+
Much of our release process is automated. To cut a new release:
59+
60+
1. Navigate to [GitHub's Releases page](https://github.com/coder/modules/releases)
61+
2. Click "Draft a new release"
62+
3. Click the "Choose a tag" button and type a new release number in the format `v<major>.<minor>.<patch>` (e.g., `v1.18.0`). Then click "Create new tag".
63+
4. Click the "Generate release notes" button, and clean up the resulting README. Be sure to clean up any notes that would not be relevant to end-users (e.g., bumping dependencies).
64+
5. Once everything looks good, click the "Publish release" button.
65+
66+
Once the release has been cut, a script will run to check whether there are any modules that will require that the new release number be published to Terraform. If there are any, a new pull request will automatically be generated. Be sure to approve this PR and merge it into the `main` branch.
67+
68+
Following that, our automated processes will handle publishing new data for [`registry.coder.com`](https://github.com/coder/registry.coder.com/):
69+
70+
1. Publishing new versions to Coder's [Terraform Registry](https://registry.terraform.io/providers/coder/coder/latest)
71+
2. Publishing new data to the [Coder Registry](https://registry.coder.com)
72+
73+
> [!NOTE]
74+
> Some data in `registry.coder.com` is fetched on demand from the Module repo's main branch. As such, some changes will be made almost immediately, while others may require some time.

0 commit comments

Comments
 (0)