Skip to content

Commit 8305076

Browse files
author
Max Dymond
authored
Merge pull request #406 from Metaswitch/release-2.0.1
Release 2.0.1
2 parents 77198f7 + 218fc4e commit 8305076

File tree

7 files changed

+16
-8
lines changed

7 files changed

+16
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373
if: github.ref_type == 'tag'
7474
needs:
7575
- build
76+
# Required to publish a release
77+
permissions:
78+
contents: write
7679
steps:
7780
- uses: actions/checkout@v4
7881
- name: Install rust
@@ -100,7 +103,6 @@ jobs:
100103
uses: softprops/action-gh-release@v2
101104
with:
102105
body_path: release.txt
103-
token: ${{ secrets.PAT_GITHUB }}
104106
files: |
105107
floki*.zip
106108
floki*.tar.gz

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ Status: Available for use
1717

1818
### Fixed
1919

20+
## [2.0.1] - 2024-05-15
21+
22+
### Fixed
23+
- Fix publishing releases
24+
2025
## [2.0.0] - 2024-05-15
2126

2227
### Breaking Changes
@@ -357,7 +362,8 @@ Status: Available for use
357362
- Initial primitive version
358363
### Changed
359364

360-
[unreleased]: https://github.com/Metaswitch/floki/compare/2.0.0...HEAD
365+
[unreleased]: https://github.com/Metaswitch/floki/compare/2.0.1...HEAD
366+
[2.0.1]: https://github.com/Metaswitch/floki/compare/2.0.0...2.0.1
361367
[2.0.0]: https://github.com/Metaswitch/floki/compare/1.2.1...2.0.0
362368
[1.2.1]: https://github.com/Metaswitch/floki/compare/1.2.0...1.2.1
363369
[1.2.0]: https://github.com/Metaswitch/floki/compare/1.1.0...1.2.0

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ keywords = ["docker"]
88
categories = ["command-line-utilities"]
99
license = "MIT"
1010

11-
version = "2.0.0"
11+
version = "2.0.1"
1212
authors = ["Richard Lupton <[email protected]>",
1313
"Max Dymond <[email protected]>"]
1414
edition = '2018'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ Precompiled binaries can be downloaded from the releases page (for linux and OSX
7070
To obtain `curl` and extract the latest linux binary directly in your shell, run
7171

7272
```shell
73-
$ curl -L https://github.com/Metaswitch/floki/releases/download/2.0.0/floki-2.0.0-linux.tar.gz | tar xzvf -
73+
$ curl -L https://github.com/Metaswitch/floki/releases/download/2.0.1/floki-2.0.1-linux.tar.gz | tar xzvf -
7474
```
7575

7676
You should be able to run `floki` from your working directory:
7777

7878
```shell
7979
$ ./floki --version
80-
floki 2.0.0
80+
floki 2.0.1
8181
```
8282

8383
Move it onto your path to run it from anywhere. E.g.

announce.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
echo "Announce changes to the world!"
44

5-
VERSION=$(tomlq -r '.package.version' Cargo.toml)
5+
VERSION=$(cargo get package.version)
66
echo "Version: $VERSION"
77

88
docker run \

docs/content/documentation/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Precompiled binaries for linux and OSX can be downloaded from the [releases](htt
2525
For example, to obtain the latest binary with `curl` and extract it, run
2626

2727
```shell
28-
$ curl -L https://github.com/Metaswitch/floki/releases/download/2.0.0/floki-2.0.0-linux.tar.gz | tar xzvf -
28+
$ curl -L https://github.com/Metaswitch/floki/releases/download/2.0.1/floki-2.0.1-linux.tar.gz | tar xzvf -
2929
```
3030

3131
in a shell. You should now be able to run `floki` from your working directory:

0 commit comments

Comments
 (0)