2023-11-13 10:49:01 +00:00
|
|
|
name: Release Process
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
mode:
|
|
|
|
description: What type of release
|
|
|
|
required: true
|
|
|
|
default: rc
|
|
|
|
type: choice
|
|
|
|
options:
|
|
|
|
- rc
|
|
|
|
- final
|
|
|
|
matrix-react-sdk:
|
|
|
|
description: React SDK version to use (current|X.Y.Z)
|
|
|
|
required: false
|
|
|
|
default: current
|
|
|
|
type: string
|
|
|
|
matrix-js-sdk:
|
|
|
|
description: JS SDK version to use (current|X.Y.Z)
|
|
|
|
required: false
|
|
|
|
default: current
|
|
|
|
type: string
|
|
|
|
concurrency: ${{ github.workflow }}
|
|
|
|
jobs:
|
|
|
|
release:
|
2023-11-24 14:32:17 +00:00
|
|
|
uses: matrix-org/matrix-js-sdk/.github/workflows/release-make.yml@develop
|
2023-11-14 15:25:42 +00:00
|
|
|
secrets:
|
|
|
|
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
|
|
|
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
2023-11-13 10:49:01 +00:00
|
|
|
with:
|
|
|
|
final: ${{ inputs.mode == 'final' }}
|
|
|
|
include-changes: matrix-react-sdk
|
|
|
|
gpg-fingerprint: ${{ vars.GPG_FINGERPRINT }}
|
|
|
|
asset-path: dist/*.tar.gz
|
|
|
|
expected-asset-count: 3
|
|
|
|
dependencies: |
|
|
|
|
matrix-react-sdk=${{ inputs.matrix-react-sdk }}
|
|
|
|
matrix-js-sdk=${{ inputs.matrix-js-sdk }}
|