Small tweaks to trigger job

This commit is contained in:
Brahim Hadriche committed 2024-04-27 11:05:32 -04:00
1 parent da417f4fb2
commit ad23a85e4f
1 file changed
+6 -1
+6 -1
View File
@@ -4,9 +4,13 @@ on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
version: version:
description: "Release version" description: "Release version (X.Y.Z)"
required: true required: true
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs: jobs:
release-pr: release-pr:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -32,6 +36,7 @@ jobs:
run: | run: |
sed -i "s/## \[Unreleased\]/## \[${{ github.event.inputs.version }}\] - $(date +%Y-%m-%d)/" CHANGELOG.md 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 - name: Build for release
run: npm run build:release || exit 0 run: npm run build:release || exit 0