625b606f55
* Switch prepublishOnly to prepack to catch errors earlier Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Reuse release-drafter-workflow from js-sdk Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Automate downstream dependency bumping Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
33 lines
1 KiB
YAML
33 lines
1 KiB
YAML
name: Release Process
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
mode:
|
|
description: What type of release
|
|
required: true
|
|
default: rc
|
|
type: choice
|
|
options:
|
|
- rc
|
|
- final
|
|
matrix-js-sdk:
|
|
description: JS SDK version to use (current|X.Y.Z)
|
|
required: false
|
|
default: current
|
|
type: string
|
|
npm:
|
|
description: Publish to npm
|
|
required: true
|
|
type: boolean
|
|
default: true
|
|
concurrency: ${{ github.workflow }}
|
|
jobs:
|
|
release:
|
|
uses: matrix-org/matrix-js-sdk/.github/workflows/release-make.yml@develop
|
|
secrets: inherit
|
|
with:
|
|
final: ${{ inputs.mode == 'final' }}
|
|
npm: ${{ inputs.npm }}
|
|
downstreams: '["element-hq/element-web"]'
|
|
dependencies: |
|
|
matrix-js-sdk=${{ inputs.matrix-js-sdk }}
|