feat: add release title and body inputs to WP Plugin release workflow
This commit is contained in:
@@ -154,6 +154,9 @@ jobs:
|
||||
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
RELEASE_SERVER_URL: ${{ vars.RELEASE_SERVER_URL }}
|
||||
RELEASE_REPOSITORY: ${{ vars.RELEASE_REPOSITORY }}
|
||||
TAG: v${{ steps.meta.outputs.version }}
|
||||
RELEASE_TITLE: ${{ inputs.release_title }}
|
||||
RELEASE_BODY: ${{ inputs.release_body }}
|
||||
run: |
|
||||
VERSION="${{ steps.meta.outputs.version }}"
|
||||
TAG="v$VERSION"
|
||||
@@ -218,7 +221,3 @@ jobs:
|
||||
-H "Authorization: token $RELEASE_TOKEN" \
|
||||
-H "Content-Type: application/zip" \
|
||||
--data-binary "@$ASSET_PATH"
|
||||
env:
|
||||
TAG: v${{ steps.meta.outputs.version }}
|
||||
RELEASE_TITLE: ${{ inputs.release_title }}
|
||||
RELEASE_BODY: ${{ inputs.release_body }}
|
||||
|
||||
Reference in New Issue
Block a user