Merge pull request #3333 from gitbutlerapp/fix-release-script-for-windows

feat(release): skip building windows if job is release
This commit is contained in:
Kiril Videlov 2024-03-26 14:39:30 +01:00 committed by GitHub
commit aaa7d74bce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,6 +165,11 @@ jq '.package.version="'"$VERSION"'"' "$CONFIG_PATH" >"$TMP_DIR/tauri.conf.json"
FEATURES=""
# Remove when we we have signing working on windows
if [ "$CHANNEL" == "release" ] && [ "$OS" = "windows" ]; then
exit 0
fi
if [ "$CHANNEL" == "nightly" ]; then
FEATURES="$FEATURES devtools"
fi