From 24adae3047410f8004895596680adffbbe4b7694 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Fri, 14 Jun 2024 16:47:57 -0300 Subject: [PATCH] chore: Release dmtrctl version 1.2.0 --- .github/workflows/release.yml | 8 ++++++++ CHANGELOG.md | 9 ++++++++- Cargo.lock | 2 +- Cargo.toml | 12 +++--------- Cross.toml | 8 -------- 5 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 Cross.toml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2aa32a7..b3e1130 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + - name: Install Rust + run: rustup update "1.79.0" --no-self-update && rustup default "1.79.0" - name: Install cargo-dist # we specify bash to get pipefail; it guards against the `curl` command # failing. otherwise `sh` won't catch that `curl` returned non-0 @@ -110,6 +112,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + - name: Install Rust + run: rustup update "1.79.0" --no-self-update && rustup default "1.79.0" - uses: swatinem/rust-cache@v2 with: key: ${{ join(matrix.targets, '-') }} @@ -164,6 +168,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + - name: Install Rust + run: rustup update "1.79.0" --no-self-update && rustup default "1.79.0" - name: Install cargo-dist shell: bash run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.14.1/cargo-dist-installer.sh | sh" @@ -210,6 +216,8 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + - name: Install Rust + run: rustup update "1.79.0" --no-self-update && rustup default "1.79.0" - name: Install cargo-dist run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.14.1/cargo-dist-installer.sh | sh" # Fetch artifacts from scratch-storage diff --git a/CHANGELOG.md b/CHANGELOG.md index 355c481..bd9a864 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,19 @@ All notable changes to this project will be documented in this file. -## [unreleased] +## [1.2.0] - 2024-06-14 ### 🔧 Continuous Integration - Migrate to cargo-dist for releases (#30) +### ⚙️ Miscellaneous Tasks + +- Migrate to cliff for changelogs (#31) +- Integrate cargo release (#32) +- Update rustls to v0.23 (#33) +- Remove redundant rustls dep (#34) + ## [1.1.0] - 2024-04-22 ### ⚙️ Miscellaneous Tasks diff --git a/Cargo.lock b/Cargo.lock index 238d23b..7add740 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -573,7 +573,7 @@ dependencies = [ [[package]] name = "dmtrctl" -version = "1.1.0" +version = "1.2.0" dependencies = [ "base64 0.22.0", "clap", diff --git a/Cargo.toml b/Cargo.toml index a74a8ad..a61064e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dmtrctl" -version = "1.1.0" +version = "1.2.0" edition = "2021" repository = "https://github.com/demeter-run/cli" license = "Apache-2.0" @@ -49,13 +49,7 @@ installers = ["shell", "powershell", "homebrew"] # A GitHub repo to push Homebrew formulas to tap = "demeter-run/homebrew-tap" # Target platforms to build apps for (Rust target-triple syntax) -targets = [ - "aarch64-apple-darwin", - "aarch64-unknown-linux-gnu", - "x86_64-apple-darwin", - "x86_64-unknown-linux-gnu", - "x86_64-pc-windows-msvc", -] +targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] # Publish jobs to run in CI publish-jobs = ["homebrew"] # Publish jobs to run in CI @@ -63,7 +57,7 @@ pr-run-mode = "skip" # Whether to install an updater program install-updater = false # The preferred Rust toolchain to use in CI (rustup toolchain syntax) -rust-toolchain-version = "1.78.0" +rust-toolchain-version = "1.79.0" [workspace.metadata.release] push = false diff --git a/Cross.toml b/Cross.toml deleted file mode 100644 index ad690a4..0000000 --- a/Cross.toml +++ /dev/null @@ -1,8 +0,0 @@ -[target.armv7-unknown-linux-gnueabihf] -image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:edge" -pre-build = [ - "dpkg --add-architecture $CROSS_DEB_ARCH", - "apt-get update", - "apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH", - "apt-get install --assume-yes --no-install-recommends libclang-10-dev clang-10", -]