Skip to content

Commit

Permalink
Merge pull request #3823 from tgross35/release-plz-0.2
Browse files Browse the repository at this point in the history
Add `release-plz` for the 0.2 branch
  • Loading branch information
tgross35 authored Aug 15, 2024
2 parents 6b0dbcd + b7e7a55 commit 5edf79a
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 5edf79a

Please sign in to comment.