diff --git a/.github/workflows/release-and-update-changelog.yml b/.github/workflows/release-and-update-changelog.yml index 18518d2..ef1c65c 100644 --- a/.github/workflows/release-and-update-changelog.yml +++ b/.github/workflows/release-and-update-changelog.yml @@ -18,7 +18,7 @@ on: type: string env: - RELEASE_VERSION: ${{ inputs.deploy_version }} + RELEASE_VERSION: ${{ inputs.release_version }} # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -51,7 +51,7 @@ jobs: with: version: 7 run_install: false - + - name: Get pnpm store directory id: pnpm-cache shell: bash @@ -77,10 +77,10 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: update the changelog and add a new tag - if: (${{ env.RELEASE_VERSION }} == '') - run: pnpm release:changelog - + if: ${{ env.RELEASE_VERSION == '' }} + run: pnpm release:changelog + - name: update the changelog and add a specific tag - if: (${{ env.RELEASE_VERSION }} != '') + if: ${{ env.RELEASE_VERSION != '' }} run: pnpm release:changelog --release-as ${{ env.RELEASE_VERSION }}