mirror of
https://github.com/vee1e/rattler.git
synced 2026-09-01 19:07:10 +00:00
fix: initial releaze-pls config
This commit is contained in:
parent
b9266a88e3
commit
a9890593f4
5 changed files with 39 additions and 0 deletions
27
.github/workflows/release-rust.yaml
vendored
Normal file
27
.github/workflows/release-rust.yaml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Rust Release
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
release-plz:
|
||||
name: Release-plz
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Run release-plz
|
||||
uses: MarcoIeni/release-plz-action@v0.5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||
|
|
@ -10,6 +10,7 @@ repository.workspace = true
|
|||
license.workspace = true
|
||||
readme.workspace = true
|
||||
default-run = "rattler"
|
||||
publish = false
|
||||
|
||||
[[bin]]
|
||||
name = "rattler"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
name = "tools"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ name = "py-rattler"
|
|||
version = "0.3.0"
|
||||
edition = "2021"
|
||||
license = "BSD-3-Clause"
|
||||
publish = false
|
||||
|
||||
[lib]
|
||||
name = "rattler"
|
||||
|
|
|
|||
9
release-plz.toml
Normal file
9
release-plz.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[workspace]
|
||||
allow_dirty = true
|
||||
changelog_update = true
|
||||
dependencies_update = true
|
||||
git_release_enable = true
|
||||
git_tag_enable = true
|
||||
pr_labels = ["release"]
|
||||
publish_allow_dirty = false
|
||||
semver_check = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue