diff --git a/.github/workflows/codePush.yml b/.github/workflows/codePush.yml index ba271e64..2fa1b892 100644 --- a/.github/workflows/codePush.yml +++ b/.github/workflows/codePush.yml @@ -72,7 +72,7 @@ jobs: - name: Check if tag exists id: check_tag run: | - TAG_NAME=$version + TAG_NAME="${{ env.version }}" EXISTING_TAG=$(git ls-remote --tags origin refs/tags/$TAG_NAME) if [[ -z "$EXISTING_TAG" ]]; then echo "Tag $TAG_NAME does not exist." @@ -94,7 +94,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.MY_REPO_PAT }} - name: Create release tag run: | - TAG_NAME="${{ env.package_version }}" + TAG_NAME="${{ env.version }}" RELEASE_NAME="Release $TAG_NAME" DESCRIPTION="${{ github.event.inputs.description }}" REPO="navi-medici/address-verification-app"