diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f47f26..af29837 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,10 @@ name: CI on: workflow_dispatch: + inputs: + releaseVersion: + description: 'The next release version to use in the format of v1.x.x' + required: true push: branches: - main @@ -32,6 +36,6 @@ jobs: - name: Release if: github.event_name == 'workflow_dispatch' run: | - gh release create v${{github.sha}} --generate-notes ./_layout/action-versions.zip ./_layout/action-versions.tar.gz + gh release create ${{github.event.inputs.releaseVersion}} --generate-notes ./_layout/action-versions.zip ./_layout/action-versions.tar.gz env: GH_TOKEN: ${{ github.token }}