From b54af227591a1bdbdb30e798b8a291aa12e49c04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 18 Jul 2024 06:02:26 -0300 Subject: [PATCH 1/5] mavlink-core: Update to 0.13.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- mavlink-core/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mavlink-core/Cargo.toml b/mavlink-core/Cargo.toml index 82b2410b00..3726398515 100644 --- a/mavlink-core/Cargo.toml +++ b/mavlink-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mavlink-core" -version = "0.12.2" +version = "0.13.1" authors = [ "Todd Stellanova", "Michal Podhradsky", From cdd4cc45f741eff3097d8907476835c07a3df042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 18 Jul 2024 06:04:25 -0300 Subject: [PATCH 2/5] mavlink-core: Fix README path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- mavlink-core/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mavlink-core/Cargo.toml b/mavlink-core/Cargo.toml index 3726398515..e4df6bbab6 100644 --- a/mavlink-core/Cargo.toml +++ b/mavlink-core/Cargo.toml @@ -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" From 91b6b24b4df70e09900cf13393ed7b91457048c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 18 Jul 2024 06:06:20 -0300 Subject: [PATCH 3/5] mavlink-bindgen: Update Cargo description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- mavlink-bindgen/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mavlink-bindgen/Cargo.toml b/mavlink-bindgen/Cargo.toml index e5f3ee534b..7a59e26781 100644 --- a/mavlink-bindgen/Cargo.toml +++ b/mavlink-bindgen/Cargo.toml @@ -2,6 +2,8 @@ name = "mavlink-bindgen" version = "0.1.0" 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 From 77d45a2d9f4a6a3cb3001b7201a8e2bca66cba69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 18 Jul 2024 06:39:58 -0300 Subject: [PATCH 4/5] Release 0.13.1 mavlink@0.13.1 mavlink-bindgen@0.13.1 mavlink-core@0.13.1 Generated by cargo-workspaces --- mavlink-bindgen/Cargo.toml | 2 +- mavlink/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mavlink-bindgen/Cargo.toml b/mavlink-bindgen/Cargo.toml index 7a59e26781..1d8cf1ffd6 100644 --- a/mavlink-bindgen/Cargo.toml +++ b/mavlink-bindgen/Cargo.toml @@ -1,6 +1,6 @@ [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." diff --git a/mavlink/Cargo.toml b/mavlink/Cargo.toml index c21c797b0d..280393172f 100644 --- a/mavlink/Cargo.toml +++ b/mavlink/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mavlink" -version = "0.12.2" +version = "0.13.1" authors = [ "Todd Stellanova", "Michal Podhradsky", From 48ba9ea4418961db93a026e4e21c4705a6cd3186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 18 Jul 2024 10:33:37 -0300 Subject: [PATCH 5/5] Add new release flow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .github/workflows/deploy.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 177e7ee22a..f27431787e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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