You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-23 11:02:35 +03:00
ci: automate dependencies version bump on release
This commit is contained in:
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user