diff --git a/build.sh b/build.sh
index 31edc03125bc64efa26341aa3589506705e2e29d..4137e612f73ac8c6bed81358aa8415d2f305bccd 100755
--- a/build.sh
+++ b/build.sh
@@ -14,4 +14,4 @@ fi
 echo ========== Building $APPID ================
 rm -rf app
 flatpak-builder $ARCH_OPT --ccache --require-changes --repo=hello-repo --subject="${APPID} ${VERSION}" ${EXPORT_ARGS-} app $FILE && \
-flatpak build-bundle $ARCH_OPT hello-repo/ $APPID.$TARGET.xdgapp $APPID master
+flatpak build-bundle $ARCH_OPT hello-repo/ $APPID-$(VERSION).$TARGET.xdgapp $APPID master