Skip to content

Commit 34a553c

Browse files
authored
Merge pull request #3877 from element-hq/release/v0.13
Release branch 0.13.0-rc.1
2 parents bfb0245 + 3a18200 commit 34a553c

File tree

11 files changed

+731
-85
lines changed

11 files changed

+731
-85
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: Build
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
7+
- 'release/**'
68
tags:
79
- "v*"
810

@@ -259,9 +261,6 @@ jobs:
259261
name: Release syn2mas on NPM
260262
runs-on: ubuntu-latest
261263

262-
# Temporarily disabled
263-
if: 'false'
264-
265264
permissions:
266265
contents: read
267266
id-token: write

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches:
6+
- main
7+
- 'release/**'
68
tags:
79
- 'v*'
810
pull_request:
9-
branches: [ main ]
1011

1112
concurrency:
1213
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/release-branch.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ jobs:
104104
});
105105
console.log(`Created branch ${branch} from ${sha}`);
106106
107+
- name: Checkout the code
108+
uses: actions/[email protected]
109+
with:
110+
ref: "release/v${{ needs.compute-version.outputs.short }}"
111+
107112
- name: Open a pull request to merge the branch into main
108113
env:
109114
VERSION: ${{ needs.compute-version.outputs.short }}

.github/workflows/release-bump.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
env:
4545
BUMP: ${{ github.event.inputs.rc && 'prerelease' || 'patch' }}
4646
VERSION: ${{ steps.current.outputs.version }}
47-
run: echo "version=$(npx --yes [email protected] -i "$BUMP"" --preid rc "$VERSION")" >> "$GITHUB_OUTPUT"
47+
run: echo "version=$(npx --yes [email protected] -i "$BUMP" --preid rc "$VERSION")" >> "$GITHUB_OUTPUT"
4848

4949
tag:
5050
uses: ./.github/workflows/tag.yaml
@@ -74,7 +74,7 @@ jobs:
7474
const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
7575
const branch = process.env.BRANCH;
7676
const sha = process.env.SHA;
77-
const ref = `refs/heads/${branch}`;
77+
const ref = `heads/${branch}`;
7878
7979
await github.rest.git.updateRef({
8080
owner,
@@ -84,6 +84,11 @@ jobs:
8484
});
8585
console.log(`Updated branch ${branch} to ${sha}`);
8686
87+
- name: Checkout the code
88+
uses: actions/[email protected]
89+
with:
90+
ref: "${{ github.ref_name }}"
91+
8792
- name: Open a pull request to merge the release branch back to main
8893
if: github.event.inputs.merge-back
8994
env:

Cargo.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ members = ["crates/*"]
44
resolver = "2"
55

66
# Updated in the CI with a `sed` command
7-
package.version = "0.12.0"
7+
package.version = "0.13.0-rc.1"
88
package.license = "AGPL-3.0-only"
99
package.authors = ["Element Backend Team"]
1010
package.edition = "2021"
@@ -27,33 +27,33 @@ broken_intra_doc_links = "deny"
2727
[workspace.dependencies]
2828

2929
# Workspace crates
30-
mas-axum-utils = { path = "./crates/axum-utils/", version = "=0.12.0" }
31-
mas-cli = { path = "./crates/cli/", version = "=0.12.0" }
32-
mas-config = { path = "./crates/config/", version = "=0.12.0" }
33-
mas-data-model = { path = "./crates/data-model/", version = "=0.12.0" }
34-
mas-email = { path = "./crates/email/", version = "=0.12.0" }
35-
mas-graphql = { path = "./crates/graphql/", version = "=0.12.0" }
36-
mas-handlers = { path = "./crates/handlers/", version = "=0.12.0" }
37-
mas-http = { path = "./crates/http/", version = "=0.12.0" }
38-
mas-i18n = { path = "./crates/i18n/", version = "=0.12.0" }
39-
mas-i18n-scan = { path = "./crates/i18n-scan/", version = "=0.12.0" }
40-
mas-iana = { path = "./crates/iana/", version = "=0.12.0" }
41-
mas-iana-codegen = { path = "./crates/iana-codegen/", version = "=0.12.0" }
42-
mas-jose = { path = "./crates/jose/", version = "=0.12.0" }
43-
mas-keystore = { path = "./crates/keystore/", version = "=0.12.0" }
44-
mas-listener = { path = "./crates/listener/", version = "=0.12.0" }
45-
mas-matrix = { path = "./crates/matrix/", version = "=0.12.0" }
46-
mas-matrix-synapse = { path = "./crates/matrix-synapse/", version = "=0.12.0" }
47-
mas-oidc-client = { path = "./crates/oidc-client/", version = "=0.12.0" }
48-
mas-policy = { path = "./crates/policy/", version = "=0.12.0" }
49-
mas-router = { path = "./crates/router/", version = "=0.12.0" }
50-
mas-spa = { path = "./crates/spa/", version = "=0.12.0" }
51-
mas-storage = { path = "./crates/storage/", version = "=0.12.0" }
52-
mas-storage-pg = { path = "./crates/storage-pg/", version = "=0.12.0" }
53-
mas-tasks = { path = "./crates/tasks/", version = "=0.12.0" }
54-
mas-templates = { path = "./crates/templates/", version = "=0.12.0" }
55-
mas-tower = { path = "./crates/tower/", version = "=0.12.0" }
56-
oauth2-types = { path = "./crates/oauth2-types/", version = "=0.12.0" }
30+
mas-axum-utils = { path = "./crates/axum-utils/", version = "=0.13.0-rc.1" }
31+
mas-cli = { path = "./crates/cli/", version = "=0.13.0-rc.1" }
32+
mas-config = { path = "./crates/config/", version = "=0.13.0-rc.1" }
33+
mas-data-model = { path = "./crates/data-model/", version = "=0.13.0-rc.1" }
34+
mas-email = { path = "./crates/email/", version = "=0.13.0-rc.1" }
35+
mas-graphql = { path = "./crates/graphql/", version = "=0.13.0-rc.1" }
36+
mas-handlers = { path = "./crates/handlers/", version = "=0.13.0-rc.1" }
37+
mas-http = { path = "./crates/http/", version = "=0.13.0-rc.1" }
38+
mas-i18n = { path = "./crates/i18n/", version = "=0.13.0-rc.1" }
39+
mas-i18n-scan = { path = "./crates/i18n-scan/", version = "=0.13.0-rc.1" }
40+
mas-iana = { path = "./crates/iana/", version = "=0.13.0-rc.1" }
41+
mas-iana-codegen = { path = "./crates/iana-codegen/", version = "=0.13.0-rc.1" }
42+
mas-jose = { path = "./crates/jose/", version = "=0.13.0-rc.1" }
43+
mas-keystore = { path = "./crates/keystore/", version = "=0.13.0-rc.1" }
44+
mas-listener = { path = "./crates/listener/", version = "=0.13.0-rc.1" }
45+
mas-matrix = { path = "./crates/matrix/", version = "=0.13.0-rc.1" }
46+
mas-matrix-synapse = { path = "./crates/matrix-synapse/", version = "=0.13.0-rc.1" }
47+
mas-oidc-client = { path = "./crates/oidc-client/", version = "=0.13.0-rc.1" }
48+
mas-policy = { path = "./crates/policy/", version = "=0.13.0-rc.1" }
49+
mas-router = { path = "./crates/router/", version = "=0.13.0-rc.1" }
50+
mas-spa = { path = "./crates/spa/", version = "=0.13.0-rc.1" }
51+
mas-storage = { path = "./crates/storage/", version = "=0.13.0-rc.1" }
52+
mas-storage-pg = { path = "./crates/storage-pg/", version = "=0.13.0-rc.1" }
53+
mas-tasks = { path = "./crates/tasks/", version = "=0.13.0-rc.1" }
54+
mas-templates = { path = "./crates/templates/", version = "=0.13.0-rc.1" }
55+
mas-tower = { path = "./crates/tower/", version = "=0.13.0-rc.1" }
56+
oauth2-types = { path = "./crates/oauth2-types/", version = "=0.13.0-rc.1" }
5757

5858
# OpenAPI schema generation and validation
5959
[workspace.dependencies.aide]

0 commit comments

Comments
 (0)