Skip to content

Commit dff823d

Browse files
authored
add a release workflow and make sure only elligator relases (#4)
1 parent a642c8a commit dff823d

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

.github/workflows/release-plz.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release-plz
2+
3+
permissions:
4+
pull-requests: write
5+
contents: write
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
12+
jobs:
13+
release-plz:
14+
name: Release-plz
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- name: Install Rust toolchain
22+
uses: dtolnay/rust-toolchain@stable
23+
- name: Run release-plz
24+
uses: MarcoIeni/release-plz-action@v0.5
25+
with:
26+
manifest_path: curve25519-elligator2/Cargo.toml
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[workspace]
22
members = [
3-
"curve25519-dalek",
3+
# "curve25519-dalek",
44
"curve25519-elligator2",
5-
"curve25519-dalek-derive",
6-
"ed25519-dalek",
7-
"x25519-dalek"
5+
# "curve25519-dalek-derive",
6+
# "ed25519-dalek",
7+
# "x25519-dalek"
88
]
99
resolver = "2"
1010

0 commit comments

Comments
 (0)