Small tweaks to trigger job
This commit is contained in:
1 parent
da417f4fb2
commit
ad23a85e4f
1 file changed
+6
-1
@@ -4,9 +4,13 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: "Release version"
|
||||
description: "Release version (X.Y.Z)"
|
||||
required: true
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
release-pr:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -32,6 +36,7 @@ jobs:
|
||||
run: |
|
||||
sed -i "s/## \[Unreleased\]/## \[${{ github.event.inputs.version }}\] - $(date +%Y-%m-%d)/" CHANGELOG.md
|
||||
|
||||
# Building for release should sync the version in multiple files, and then fail if there are any changes.
|
||||
- name: Build for release
|
||||
run: npm run build:release || exit 0
|
||||
|
||||
|
||||
Reference in new issue
Block a user