Skip to content

Commit

Permalink
Add release-plz for the 0.2 branch
Browse files Browse the repository at this point in the history
This only enables the release PRs. We can enable publish once we verify
that the results look correct.
  • Loading branch information
tgross35 committed Aug 15, 2024
1 parent 6b0dbcd commit b7e7a55
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish_0.2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# release-plz for the stable 0.2 branch

name: Release-plz v0.2

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- libc-0.2

jobs:
release-plz:
name: Release-plz v0.2
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust (rustup)
run: rustup update stable --no-self-update && rustup default stable
- name: Run release-plz
uses: MarcoIeni/[email protected]
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .release-plz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[workspace]
git_tag_name = "v{{ version }}"
1 change: 1 addition & 0 deletions libc-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ edition = "2018"
authors = ["The Rust Project Developers"]
license = "MIT OR Apache-2.0"
build = "build.rs"
publish = false
repository = "https://github.com/rust-lang/libc"
homepage = "https://github.com/rust-lang/libc"
description = """
Expand Down

0 comments on commit b7e7a55

Please sign in to comment.