Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new release flow #243

Merged
merged 5 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ jobs:
override: true
- name: Build
run: cargo build
- uses: katyo/publish-crates@v1
- name: Extract version from tag
id: get_version
run: echo "::set-output name=version::${GITHUB_REF/refs\/tags\//}"
- name: Login to crates.io
uses: actions-rs/cargo@v1
with:
registry-token: ${{ secrets.CARGO }}
command: login
args: ${{ secrets.CARGO }}
- name: Set and publish workspace crates
run: |
cargo install cargo-workspaces
cargo workspaces version custom ${{ steps.get_version.outputs.version }} \
--exact --yes --no-individual-tags \
-m "Commit new release ${{ steps.get_version.outputs.version }}"
cargo workspaces publish --yes --no-verify
4 changes: 3 additions & 1 deletion mavlink-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[package]
name = "mavlink-bindgen"
version = "0.1.0"
version = "0.13.1"
edition = "2021"
license = "MIT/Apache-2.0"
description = "Library used by rust-mavlink."

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
4 changes: 2 additions & 2 deletions mavlink-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mavlink-core"
version = "0.12.2"
version = "0.13.1"
authors = [
"Todd Stellanova",
"Michal Podhradsky",
Expand All @@ -10,7 +10,7 @@ authors = [
"Ibiyemi Abiodun",
]
description = "Implements the MAVLink data interchange format for UAVs."
readme = "README.md"
readme = "../README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/mavlink/rust-mavlink"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion mavlink/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "mavlink"
version = "0.12.2"
version = "0.13.1"
authors = [
"Todd Stellanova",
"Michal Podhradsky",
Expand Down
Loading