From 1c16df25eef9afe96a0d57b0884ee24334682e12 Mon Sep 17 00:00:00 2001 From: Michael Born Date: Thu, 3 Aug 2023 06:25:51 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIX:=20Fix=20master=20builds=20i?= =?UTF-8?q?dentifying=20as=20snapshots?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae63d63..b714d7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,6 @@ on: env: MODULE_ID: docbox - SNAPSHOT: ${{ github.ref_name != 'main' && github.ref_name != 'master' }} jobs: ############################################# @@ -60,7 +59,7 @@ jobs: # master or snapshot echo "Github Ref is $GITHUB_REF" echo "VERSION=$PACKAGE_VERSION" >> $GITHUB_ENV - if [ $SNAPSHOT ] + if [ $GITHUB_REF == 'refs/heads/development' ] then echo "VERSION=$PACKAGE_VERSION-snapshot+${{ github.run_number}}" >> $GITHUB_ENV fi