mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 04:48:50 +03:00
bef8aec483
* Add release-drafter Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Initial release automation Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Simplify dependency management Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add release-gitflow.yml Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
32 lines
987 B
YAML
32 lines
987 B
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-action.yml@develop
|
|
secrets: inherit
|
|
with:
|
|
final: ${{ inputs.mode == 'final' }}
|
|
npm: ${{ inputs.npm }}
|
|
dependencies: |
|
|
matrix-js-sdk=${{ inputs.matrix-js-sdk }}
|