Skip to content

Commit 5edf79a

Browse files
authored
Merge pull request #3823 from tgross35/release-plz-0.2
Add `release-plz` for the 0.2 branch
2 parents 6b0dbcd + b7e7a55 commit 5edf79a

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.github/workflows/publish_0.2.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# release-plz for the stable 0.2 branch
2+
3+
name: Release-plz v0.2
4+
5+
permissions:
6+
pull-requests: write
7+
contents: write
8+
9+
on:
10+
push:
11+
branches:
12+
- libc-0.2
13+
14+
jobs:
15+
release-plz:
16+
name: Release-plz v0.2
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
- name: Install Rust (rustup)
24+
run: rustup update stable --no-self-update && rustup default stable
25+
- name: Run release-plz
26+
uses: MarcoIeni/[email protected]
27+
with:
28+
command: release-pr
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.release-plz.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[workspace]
2+
git_tag_name = "v{{ version }}"

libc-test/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ edition = "2018"
55
authors = ["The Rust Project Developers"]
66
license = "MIT OR Apache-2.0"
77
build = "build.rs"
8+
publish = false
89
repository = "https://github.com/rust-lang/libc"
910
homepage = "https://github.com/rust-lang/libc"
1011
description = """

0 commit comments

Comments
 (0)