From 0c423afc596f72ec06ed57ffafc4680a74d7e462 Mon Sep 17 00:00:00 2001 From: George Bardis Date: Wed, 14 Dec 2022 15:41:54 +0200 Subject: [PATCH] ci: temparary allow passing the version manually --- .github/workflows/publish-new-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-new-release.yml b/.github/workflows/publish-new-release.yml index 2f1897a..e8f1937 100644 --- a/.github/workflows/publish-new-release.yml +++ b/.github/workflows/publish-new-release.yml @@ -2,6 +2,9 @@ name: Publish new github release on: workflow_dispatch: + inputs: + version: + required: true pull_request: branches: - main @@ -21,7 +24,7 @@ jobs: VERSION=${BRANCH_NAME#hotfix-} VERSION=${VERSION#release/} - echo "release_version=$VERSION" >> $GITHUB_OUTPUT + echo "release_version=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT - name: Checkout uses: actions/checkout@v3