From 2020d85c12b8e3fe2bedec03c251fb4b4f1c305e Mon Sep 17 00:00:00 2001 From: Xikaro Date: Fri, 18 Apr 2025 22:34:26 +0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e266b77a..baff97858 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,6 +40,7 @@ jobs: id: check_pakku_lock shell: bash run: | + echo "${{ github.ref_name }}" if [ ! -f pakku-lock.json ]; then echo "❌ Could not find pakku-lock.json" && exit 1 else @@ -147,7 +148,7 @@ jobs: id: determine_version shell: bash run: | - if [ ${{ github.env.DEV_ENVIRONMENT == 'true' }} ]; then + if [ ${{ github.env.DEV_ENVIRONMENT }} ]; then echo "version=unreleased" >> $GITHUB_OUTPUT else echo "version=${{ steps.pakku_info.outputs.version }}" >> $GITHUB_OUTPUT @@ -165,7 +166,7 @@ jobs: id: check shell: bash run: | - if [ ${{ github.env.DEV_ENVIRONMENT == 'true' }} ]; then + if [ ${{ github.env.DEV_ENVIRONMENT }} || ${{ steps.changelog.outcome }} == 'failure' ]; then echo "version=build_#${{ github.run_number }}" >> $GITHUB_OUTPUT echo "status=Unreleased" >> $GITHUB_OUTPUT else