diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5b601151..f898877c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,6 +46,7 @@ jobs: - name: Set the crates version run: | sed -i "s/^package.version = .*/package.version = \"${{ steps.next.outputs.version }}\"/" Cargo.toml + sed -i "/path = \".\/crates\//s/version = \".*\"/version = \"=${{ steps.next.outputs.version }}\"/" Cargo.toml - name: Run `cargo metadata` to make sure the lockfile is up to date run: cargo metadata --format-version 1 @@ -151,4 +152,4 @@ jobs: ref: `heads/${branch}`, sha: commit, }); - console.log("Updated branch ref:", ref.data.url); \ No newline at end of file + console.log("Updated branch ref:", ref.data.url); diff --git a/Cargo.toml b/Cargo.toml index 072bffe9..e7877c77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,6 @@ broken_intra_doc_links = "deny" [workspace.dependencies] # Workspace crates -# TODO: we need to automate the publishing of the workspace crates and version bumps mas-axum-utils = { path = "./crates/axum-utils/", version = "=0.7.0" } mas-cli = { path = "./crates/cli/", version = "=0.7.0" } mas-config = { path = "./crates/config/", version = "=0.7.0" }