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
{{ message }}
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Releases of `cortex-jsonnet` are versioned to match the compatible version of Cortex. The release of `cortex-jsonnet`tagged `1.6.0` should match compatible with the release of Cortex tagged `1.6.0`.
8
+
A release of `cortex-jsonnet` should follow shortly after a release of Cortex.
9
+
10
+
### Publish a release
11
+
12
+
1. Create a branch for the new release.
13
+
2. Update the `CHANGELOG.md`.
14
+
- Add a new section for the new release so that "## master / unreleased" is blank and at the top.
15
+
- The new release section should say "## x.y.0 / YYYY-MM-DD".
16
+
- Ensure changelog entries for the new release are in this order:
17
+
*`[CHANGE]`
18
+
*`[FEATURE]`
19
+
*`[ENHANCEMENT]`
20
+
*`[BUGFIX]`
21
+
3. Update `cortex/images.libsonnet` to the released Cortex version.
22
+
4. Open a Pull Request for the your branch.
23
+
5. Once your Pull Request has been merged, checkout the merge commit and tag a release. Refer to [How to tag a release](#how-to-tag-a-release).
24
+
6. Build the `cortex-mixin.zip` for the release.
25
+
26
+
```console
27
+
$ make build-mixin
28
+
```
29
+
7. Add the `cortex-mixin/cortex-mixin.zip` and release change log to the GitHub release.
30
+
- Edit the release in GitHub by going to https://github.com/grafana/cortex-jsonnet/releases/edit/x.y.z
31
+
32
+
### How to tag a release
33
+
34
+
> **Note:** Unlike Cortex, release tags are not prefixed with a `v`.
0 commit comments