You've already forked authentication-service
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:
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@@ -46,6 +46,7 @@ jobs:
|
|||||||
- name: Set the crates version
|
- name: Set the crates version
|
||||||
run: |
|
run: |
|
||||||
sed -i "s/^package.version = .*/package.version = \"${{ steps.next.outputs.version }}\"/" Cargo.toml
|
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
|
- name: Run `cargo metadata` to make sure the lockfile is up to date
|
||||||
run: cargo metadata --format-version 1
|
run: cargo metadata --format-version 1
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ broken_intra_doc_links = "deny"
|
|||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
|
|
||||||
# Workspace crates
|
# 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-axum-utils = { path = "./crates/axum-utils/", version = "=0.7.0" }
|
||||||
mas-cli = { path = "./crates/cli/", version = "=0.7.0" }
|
mas-cli = { path = "./crates/cli/", version = "=0.7.0" }
|
||||||
mas-config = { path = "./crates/config/", version = "=0.7.0" }
|
mas-config = { path = "./crates/config/", version = "=0.7.0" }
|
||||||
|
|||||||
Reference in New Issue
Block a user