| 1 |
name: "Step 1: Prep Release" |
| 2 |
on: |
| 3 |
workflow_dispatch: |
| 4 |
inputs: |
| 5 |
version_spec: |
| 6 |
description: "New Version Specifier" |
| 7 |
default: "next" |
| 8 |
required: false |
| 9 |
branch: |
| 10 |
description: "The branch to target" |
| 11 |
required: false |
| 12 |
post_version_spec: |
| 13 |
description: "Post Version Specifier" |
| 14 |
required: false |
| 15 |
silent: |
| 16 |
description: "Set a placeholder in the changelog and don't publish the release." |
| 17 |
required: false |
| 18 |
type: boolean |
| 19 |
since: |
| 20 |
description: "Use PRs with activity since this date or git reference" |
| 21 |
required: false |
| 22 |
since_last_stable: |
| 23 |
description: "Use PRs with activity since the last stable git tag" |
| 24 |
required: false |
| 25 |
type: boolean |
| 26 |
jobs: |
| 27 |
prep_release: |
| 28 |
runs-on: ubuntu-latest |
| 29 |
permissions: |
| 30 |
contents: write |
| 31 |
steps: |
| 32 |
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 |
| 33 |
|
| 34 |
- name: Prep Release |
| 35 |
id: prep-release |
| 36 |
uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2 |
| 37 |
with: |
| 38 |
token: ${{ secrets.GITHUB_TOKEN }} |
| 39 |
version_spec: ${{ github.event.inputs.version_spec }} |
| 40 |
silent: ${{ github.event.inputs.silent }} |
| 41 |
post_version_spec: ${{ github.event.inputs.post_version_spec }} |
| 42 |
target: ${{ github.event.inputs.target }} |
| 43 |
branch: ${{ github.event.inputs.branch }} |
| 44 |
since: ${{ github.event.inputs.since }} |
| 45 |
since_last_stable: ${{ github.event.inputs.since_last_stable }} |
| 46 |
|
| 47 |
- name: "** Next Step **" |
| 48 |
run: | |
| 49 |
echo "Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}" |