diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 92e4dbc74..70e3b3452 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -183,12 +183,12 @@ jobs: FILENAME_EXE="concordium-desktop-wallet-${TARGET_NET}-${VERSION}.exe" fi - OUT_FILENAME_EXE="${VERSION}/${TARGET_NET}/${FILENAME_EXE}/test" + OUT_FILENAME_EXE="${VERSION}/${TARGET_NET}/${FILENAME_EXE}" aws s3 ls ${{ env.S3_BUCKET }}/$OUT_FILENAME_EXE EC=$? - if [EC -eq 254]; then + if [$EC -eq 254]; then echo "Executable already exist" - #exit 1 + exit 1 else echo "OUT_OBJECT=${{ env.S3_BUCKET }}/$OUT_FILENAME_EXE" >> $GITHUB_ENV fi