1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-24 23:01:05 +03:00

ci: automate dependencies version bump on release

This commit is contained in:
Quentin Gliech
2024-02-02 23:54:41 +01:00
parent 9d96cdde1f
commit fe2344baca
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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" }