From 062d3b736b0ea7cf6830195cb8448c6bc07dbb97 Mon Sep 17 00:00:00 2001 From: yujeong-jeon Date: Fri, 6 Feb 2026 23:19:32 +0900 Subject: [PATCH] Fix commithelperGoWillBePublished logic and update asset upload conditions --- .github/workflows/release.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8432907..be13630 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -87,9 +87,9 @@ jobs: isPublished="false" fi if [ "$isPublished" = "false" ]; then - echo "commithelperGoWillBePublished=false" >> $GITHUB_OUTPUT - else echo "commithelperGoWillBePublished=true" >> $GITHUB_OUTPUT + else + echo "commithelperGoWillBePublished=false" >> $GITHUB_OUTPUT fi - name: getCommitHelperGoVersion @@ -126,6 +126,7 @@ jobs: packages_dir: 'packages' excludes: '.turbo,.github' version_template: '{VERSION}-canary.{DATE}-{COMMITID7}' + create_release: ${{ steps.checkCommitHelperGo.outputs.commithelperGoWillBePublished == 'true' }} - name: Publish - RC if: github.event_name == 'issue_comment' && (github.event.comment.body == 'rc-publish' || github.event.comment.body == '/rc-publish') @@ -143,7 +144,7 @@ jobs: upload-assets: needs: release - if: needs.release.outputs.published == 'true' && needs.release.outputs.commithelperGoWillBePublished == 'true' + if: needs.release.outputs.commithelperGoWillBePublished == 'true' uses: ./.github/workflows/release-asset.yaml with: package: '@naverpay/commithelper-go'