From d7b457422d7bffd141f16e302998fa87d06a928d Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Fri, 2 Feb 2024 20:31:19 +0000 Subject: [PATCH] Update release script Signed-off-by: Andrew W. Harn --- .github/workflows/main.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ae463e..7632aa4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,14 +108,10 @@ jobs: - name: Create Release id: release-create if: ${{ steps.release-prepare.outcome == 'success' }} - uses: ncipollo/release-action@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - draft: false - prerelease: false - name: ${{ github.event.inputs.zowe-version }} - tag: ${{ github.event.inputs.zowe-version }} - body: | - Zowe CLI Web-Help for Zowe Release ${{ github.event.inputs.zowe-version }} - artifacts: "release/zowe-${{ github.event.inputs.zowe-version }}.pdf,release/zowe-${{ github.event.inputs.zowe-version }}-WebHelp.zip" + run: | + gh release create \ + -t "${{ github.event.inputs.zowe-version }}" \ + -n "Zowe CLI Web-Help for Zowe Release ${{ github.event.inputs.zowe-version }}" \ + ${{ github.event.inputs.zowe-version }} \ + release/zowe-${{ github.event.inputs.zowe-version }}.pdf \ + release/zowe-${{ github.event.inputs.zowe-version }}-WebHelp.zip