diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db1b881..be43292 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,6 +50,12 @@ jobs: token: ${{ steps.app-token.outputs.token }} ref: main + - name: Setup Rust + uses: dtolnay/rust-toolchain@stable + + - name: Install cargo-edit + run: cargo install cargo-edit + - uses: actions/setup-node@v4 with: node-version: "lts/*" diff --git a/.release-it.json b/.release-it.json index 522fba1..322e173 100644 --- a/.release-it.json +++ b/.release-it.json @@ -12,6 +12,9 @@ "tagName": "${version}", "push": true }, + "hooks": { + "before:bump": "cargo set-version ${version}" + }, "plugins": { "@release-it/conventional-changelog": { "preset": { @@ -48,11 +51,6 @@ }, "@release-it/bumper": { "out": [ - { - "file": "Cargo.toml", - "path": "package.version", - "type": "toml" - }, { "file": "CITATION.cff", "path": "version", diff --git a/Cargo.lock b/Cargo.lock index 61a7aac..c4b47ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2872,7 +2872,7 @@ dependencies = [ [[package]] name = "portabase-agent" -version = "1.2.0" +version = "1.2.2" dependencies = [ "aes", "aes-gcm", diff --git a/Cargo.toml b/Cargo.toml index 8790f27..5325f93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ async-stream = "0.3.6" uuid = { version = "1.20.0", features = ["v4"] } tokio-util = "0.7.18" aws-config = "1.8.13" -aws-sdk-s3 = { version = "1.1.2.2", features = ["behavior-version-latest"] } +aws-sdk-s3 = { version = "1.122.0", features = ["behavior-version-latest"] } async-compression = { version = "0.4.37", features = ["tokio", "gzip"] } tokio-tar = "0.3.1" oauth2 = "5.0.0"