From 623b88592af81d1c3ab71594ffed075fd21c0f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20K=C3=B8hler=20Warmdahl?= Date: Thu, 12 Dec 2024 09:49:17 +0100 Subject: [PATCH] print out ::error:: --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2dc6ae41c..9b5e3d883 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -59,7 +59,7 @@ jobs: run: | TARGET_NET=${TAG##desktop-wallet/*-} if [ $TARGET_NET != "stagenet" ] || [ $TARGET_NET != "testnet" ] || [ $TARGET_NET =! "mainnet" ]; then - echo "Tag does not contain target net" + ::error:: Tag does not contain target net" exit 1 fi echo "TARGET_NET=$TARGET_NET" >> $GITHUB_OUTPUT @@ -73,7 +73,7 @@ jobs: TAG_VERSION=${{ github.ref_name }} if [ "$VERSION" != "$TAG_VERSION" ]; then - echo "Tag version is not correct. Tag version: $TAG_VERSION version from package.json: $VERSION" + echo "::error:: Tag version is not correct. Tag version: $TAG_VERSION version from package.json: $VERSION" exit 1 fi echo "VERSION=$VERSION" >> $GITHUB_OUTPUT @@ -136,7 +136,7 @@ jobs: aws s3 ls "${{ env.OUT_FOLDER_PATH }}/latest-linux.yml" EC=$? if [ $EC -eq 0 ]; then - echo ".deb file already exist" + echo ::error:: file file already exist" exit 1 elif [ $EC -ne 1 ]; then echo "::error:: $EC" @@ -210,7 +210,7 @@ jobs: EC=$? echo $EC if [ $EC -eq 0 ]; then - echo "$OUT_OBJECT already exist" + echo "::error:: file already exist" exit 1 elif [ $EC -ne 1 ]; then echo "::error:: $EC"