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_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
RELEASE_SERVER_URL: ${{ vars.RELEASE_SERVER_URL }}
|
RELEASE_SERVER_URL: ${{ vars.RELEASE_SERVER_URL }}
|
||||||
RELEASE_REPOSITORY: ${{ vars.RELEASE_REPOSITORY }}
|
RELEASE_REPOSITORY: ${{ vars.RELEASE_REPOSITORY }}
|
||||||
|
TAG: v${{ steps.meta.outputs.version }}
|
||||||
|
RELEASE_TITLE: ${{ inputs.release_title }}
|
||||||
|
RELEASE_BODY: ${{ inputs.release_body }}
|
||||||
run: |
|
run: |
|
||||||
VERSION="${{ steps.meta.outputs.version }}"
|
VERSION="${{ steps.meta.outputs.version }}"
|
||||||
TAG="v$VERSION"
|
TAG="v$VERSION"
|
||||||
@@ -218,7 +221,3 @@ jobs:
|
|||||||
-H "Authorization: token $RELEASE_TOKEN" \
|
-H "Authorization: token $RELEASE_TOKEN" \
|
||||||
-H "Content-Type: application/zip" \
|
-H "Content-Type: application/zip" \
|
||||||
--data-binary "@$ASSET_PATH"
|
--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