diff --git a/.github/workflows/new_release.yml b/.github/workflows/new_release.yml new file mode 100644 index 0000000..6ba6be7 --- /dev/null +++ b/.github/workflows/new_release.yml @@ -0,0 +1,29 @@ +name: 'New release' + +on: + workflow_dispatch: + inputs: + version: + description: 'Version for new release.' + type: string + required: true + +permissions: + contents: write + +jobs: + release: + name: 'Draft new release (${{inputs.version}})' + runs-on: ubuntu-latest + + steps: + - name: 'Setup Repository (${{github.event.repository.name}})' + uses: actions/checkout@v4 + + - name: 'Create new release (${{inputs.version}})' + uses: ncipollo/release-action@v1 + with: + artifacts: 'binaries' + allowUpdates: false + makeLatest: true + tag: ${{inputs.version}}