diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8c30aea85..10dab941c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -61,7 +61,7 @@ jobs: run: | TARGET_NET=${TAG##desktop-wallet/*-} echo "$TARGET_NET" - if [ $TARGET_NET != "stagenet" ] || [ $TARGET_NET != "testnet" ] || [ $TARGET_NET =! "mainnet" ]; then + if [ $TARGET_NET != "stagenet" || "testnet" || "mainnet" ]; then echo "::error:: Tag does not contain target net" exit 1 fi