From d7b457422d7bffd141f16e302998fa87d06a928d Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Fri, 2 Feb 2024 20:31:19 +0000 Subject: [PATCH 1/2] 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 From c18ac52f3b465bdc07bba00aae7592fa5372bfcc Mon Sep 17 00:00:00 2001 From: "Andrew W. Harn" Date: Fri, 2 Feb 2024 20:33:06 +0000 Subject: [PATCH 2/2] Add missing env variable Signed-off-by: Andrew W. Harn --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7632aa4..4b409b7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,6 +108,8 @@ jobs: - name: Create Release id: release-create if: ${{ steps.release-prepare.outcome == 'success' }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gh release create \ -t "${{ github.event.inputs.zowe-version }}" \