Skip to content

Commit e018934

Browse files
academowbrowne
andauthored
Update developer-guide.md (#646)
Co-authored-by: Will Browne <[email protected]>
1 parent be06776 commit e018934

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contribute/developer-guide.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ We use Go modules for managing Go dependencies. After you've updated/modified mo
6262

6363
If you want to create a new version of the SDK for release, follow these steps:
6464

65+
- Make sure that you have `gorelease` installed
66+
- If not, run `go install golang.org/x/exp/cmd/gorelease@latest`
6567
- Checkout the commit you want to tag (`git checkout <COMMIT_SHA>`)
6668
- Run [`gorelease`](https://pkg.go.dev/golang.org/x/exp/cmd/gorelease) to compare with the previous release. For example, when preparing to release v0.123.0:
6769

@@ -74,11 +76,12 @@ Compatible changes:
7476
7577
v0.123.0 is a valid semantic version for this release.
7678
```
79+
7780
- Run `git tag <VERSION>` (For example **v0.123.0**)
7881
- NOTE: We're using Lightweight Tags, so no other options are required
7982
- Run `git push origin <VERSION>`
8083
- Verify that the tag was create successfully [here](https://github.com/grafana/grafana-plugin-sdk-go/tags)
81-
- Edit the tag on GitHub and create a release from it.
84+
- Create a release from the tag on GitHub.
8285
- Use the tag name as title.
8386
- Click on the _Auto-generate release notes_ button.
8487
- Add a compatibility section and add the output of the command above.

0 commit comments

Comments
 (0)