diff --git a/.github/workflows/publish_0.2.yml b/.github/workflows/publish_0.2.yml new file mode 100644 index 0000000000000..36b5c08bb947c --- /dev/null +++ b/.github/workflows/publish_0.2.yml @@ -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/release-plz-action@v0.5 + with: + command: release-pr + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.release-plz.toml b/.release-plz.toml new file mode 100644 index 0000000000000..8868315fab2c6 --- /dev/null +++ b/.release-plz.toml @@ -0,0 +1,2 @@ +[workspace] +git_tag_name = "v{{ version }}" diff --git a/libc-test/Cargo.toml b/libc-test/Cargo.toml index 9705c2ef1151a..843cd89fccdb7 100644 --- a/libc-test/Cargo.toml +++ b/libc-test/Cargo.toml @@ -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 = """