Skip to content

Commit

Permalink
ci: add release-cargo workflow
Browse files Browse the repository at this point in the history
This adds a manual workflow to run cargo-release.
A changelog will be created, the crate will be published and a tag will
be created.
The release workflow will trigger as a new tag is created.

Refs: #143
  • Loading branch information
hdevalke committed Mar 8, 2024
1 parent 4714a68 commit 0bd6ece
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release-cargo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "release-cargo"
on:
workflow_dispatch:
jobs:
release-cargo:
environment: release
name: Release Cargo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install stable toolchain and check style
run: |
rustup toolchain install --profile minimal stable
cargo install --path .
cargo install cargo-release
cargo release "$(convco version --bump)" --execute

0 comments on commit 0bd6ece

Please sign in to comment.