Skip to content

Commit 9136782

Browse files
authored
Fix release (#18)
* Fix checking for new release Signed-off-by: Friedrich Gonzalez <[email protected]> * Fix reference to download binary Signed-off-by: Friedrich Gonzalez <[email protected]> * Adjust changelog Signed-off-by: Friedrich Gonzalez <[email protected]> * Create changelog for fix Signed-off-by: Friedrich Gonzalez <[email protected]> --------- Signed-off-by: Friedrich Gonzalez <[email protected]>
1 parent 0c26713 commit 9136782

File tree

4 files changed

+41
-3
lines changed

4 files changed

+41
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Order should be `CHANGE`, `FEATURE`, `ENHANCEMENT`, and `BUGFIX`
44

5+
## v0.11.1
6+
* [BUGFIX] Fix check for new version
7+
* [BUGFIX] Fix reference to download the binaries
8+
59
## v0.11.0
610

711
* [CHANGE] Rename to cortexproject/cortex-tools #2

changelogs/v0.11.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
```console
2121
# download the binary (adapt os and arch as needed)
22-
$ curl -fSL -o "cortextool" "https://github.com/grafana/cortex-tools/releases/download/v0.11.0/cortextool_0.11.0_linux_x86_64"
22+
$ curl -fSL -o "cortextool" "https://github.com/cortexproject/cortex-tools/releases/download/v0.11.0/cortextool_0.11.0_linux_x86_64"
2323

2424
# make it executable
2525
$ chmod a+x "cortextool"
@@ -32,7 +32,7 @@ $ ./cortextool --help
3232

3333
```console
3434
# download the binary (adapt os and arch as needed)
35-
$ curl -fSL -o "benchtool" "https://github.com/grafana/cortex-tools/releases/download/v0.11.0/benchtool_0.11.0_linux_x86_64"
35+
$ curl -fSL -o "benchtool" "https://github.com/cortexproject/cortex-tools/releases/download/v0.11.0/benchtool_0.11.0_linux_x86_64"
3636

3737
# make it executable
3838
$ chmod a+x "benchtool"

changelogs/v0.11.1.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# v0.11.0 Release
2+
3+
## Changes
4+
5+
* [BUGFIX] Fix check for new version
6+
* [BUGFIX] Fix reference to download the binaries
7+
8+
## Installation
9+
10+
## cortextool
11+
12+
```console
13+
# download the binary (adapt os and arch as needed)
14+
$ curl -fSL -o "cortextool" "https://github.com/cortexproject/cortex-tools/releases/download/v0.11.1/cortextool_0.11.1_linux_x86_64"
15+
16+
# make it executable
17+
$ chmod a+x "cortextool"
18+
19+
# have fun :)
20+
$ ./cortextool --help
21+
```
22+
23+
## benchtool
24+
25+
```console
26+
# download the binary (adapt os and arch as needed)
27+
$ curl -fSL -o "benchtool" "https://github.com/cortexproject/cortex-tools/releases/download/v0.11.1/benchtool_0.11.1_linux_x86_64"
28+
29+
# make it executable
30+
$ chmod a+x "benchtool"
31+
32+
# have fun :)
33+
$ ./benchtool --help
34+
```

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func CheckLatest() {
4141
func getLatestFromGitHub() (string, error) {
4242
fmt.Print("checking latest version... ")
4343
c := github.NewClient(nil)
44-
repoRelease, resp, err := c.Repositories.GetLatestRelease(context.Background(), "grafana", "cortex-tools")
44+
repoRelease, resp, err := c.Repositories.GetLatestRelease(context.Background(), "cortexproject", "cortex-tools")
4545
if err != nil {
4646
log.WithFields(log.Fields{"err": err}).Debugln("error while retrieving the latest version")
4747
return "", errUnableToRetrieveLatestVersion

0 commit comments

Comments
 (0)