From 8e053217b157a5c48026018a4d837ad9c60dae7b Mon Sep 17 00:00:00 2001 From: Thomas Dekiere Date: Fri, 27 Sep 2024 22:03:05 +0200 Subject: [PATCH] fix: typo in branch-name variable --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fa7de1..c52267a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} THDK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - if [[ "${{ steps.git.outputs.branch_name }}" == "main" ]]; then + if [[ "${{ steps.git.outputs.branch-name }}" == "main" ]]; then npx nx release --skip-publish --verbose else npx nx release version --preid ${{ steps.git.outputs.commit-sha-short }} --no-git-commit --no-git-tag --verbose