diff --git a/.gitea/workflows/wp-plugin-release.yml b/.gitea/workflows/wp-plugin-release.yml index e68c739..20cfc49 100644 --- a/.gitea/workflows/wp-plugin-release.yml +++ b/.gitea/workflows/wp-plugin-release.yml @@ -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 }}