Skip to content

Commit 178ecc3

Browse files
committed
misc: add a way to publish releases
Signed-off-by: Anthony Griffon <[email protected]>
1 parent a7994e8 commit 178ecc3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build-release.yml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#
33
name: release
44

5-
# Only do the release on roster-vx.y.z tags.
65
on:
76
push:
87
tags:

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
1919
with:
20-
token: ${{ github.token }}
20+
token: ${{ secrets.PAT_GITHUB_TOKEN }}
2121
fetch-depth: 0
2222

2323
- name: Install Rust toolchain
@@ -26,5 +26,5 @@ jobs:
2626
- name: Run release-plz
2727
uses: MarcoIeni/[email protected]
2828
env:
29-
GITHUB_TOKEN: ${{ github.token }}
29+
GITHUB_TOKEN: ${{ secrets.PAT_GITHUB_TOKEN }}
3030
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}

app/roster/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ homepage = "https://swarmd.io"
88
repository = "https://github.com/miaxos/roster"
99
license = "MIT OR Apache-2.0"
1010
keywords = ["redis", "async", "io-uring"]
11+
readme = "../../README.md"
1112

1213
[lib]
1314
name = "roster"

0 commit comments

Comments
 (0)