You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contribute/developer-guide.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,8 @@ We use Go modules for managing Go dependencies. After you've updated/modified mo
62
62
63
63
If you want to create a new version of the SDK for release, follow these steps:
64
64
65
+
- Make sure that you have `gorelease` installed
66
+
- If not, run `go install golang.org/x/exp/cmd/gorelease@latest`
65
67
- Checkout the commit you want to tag (`git checkout <COMMIT_SHA>`)
66
68
- 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:
67
69
@@ -74,11 +76,12 @@ Compatible changes:
74
76
75
77
v0.123.0 is a valid semantic version for this release.
76
78
```
79
+
77
80
- Run `git tag <VERSION>` (For example **v0.123.0**)
78
81
- NOTE: We're using Lightweight Tags, so no other options are required
79
82
- Run `git push origin <VERSION>`
80
83
- 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.
82
85
- Use the tag name as title.
83
86
- Click on the _Auto-generate release notes_ button.
84
87
- Add a compatibility section and add the output of the command above.
0 commit comments