From fa833537fde16b49f05959b0275e4bd7f794c400 Mon Sep 17 00:00:00 2001 From: Tung Le Date: Tue, 14 Jan 2025 13:07:42 +0700 Subject: [PATCH] MARP-1053 Update release drafter workflows for branch release/10.0 > Try out --- .../market-release-drafter-action.yml | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/market-release-drafter-action.yml b/.github/workflows/market-release-drafter-action.yml index 0abc6b90b3..e2e187c39f 100644 --- a/.github/workflows/market-release-drafter-action.yml +++ b/.github/workflows/market-release-drafter-action.yml @@ -17,7 +17,13 @@ jobs: steps: - name: Configure Release Draft Settings run: | - if [[ "$GITHUB_REF_NAME" = *release/* ]]; then + echo "$GITHUB_REF_NAME" + echo "$DRAFTER_NAME" + echo $GITHUB_REF_NAME + + + echo "DRAFTER_NAME=Next Release $RELEASE_VERSION 🛒" >> $GITHUB_ENV + if [[ "$GITHUB_REF_NAME" = release/* ]]; then RELEASE_VERSION="${GITHUB_REF_NAME#release/}" echo "DRAFTER_NAME=Next Release $RELEASE_VERSION 🛒" >> $GITHUB_ENV echo "DRAFTER_TAG=next-$RELEASE_VERSION" >> $GITHUB_ENV @@ -27,11 +33,11 @@ jobs: echo $github.ref fi - - uses: release-drafter/release-drafter@v6 - with: - name: ${{ env.DRAFTER_NAME }} - tag: ${{ env.DRAFTER_TAG }} - commitish: "refs/heads/release/10.0" + # - uses: release-drafter/release-drafter@v6 + # with: + # name: ${{ env.DRAFTER_NAME }} + # tag: ${{ env.DRAFTER_TAG }} + # commitish: "refs/heads/release/10.0" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file