diff --git a/dist/mac/Info.plist b/dist/mac/Info.plist
index 0f82543a1b7b..4ad133717aed 100644
--- a/dist/mac/Info.plist
+++ b/dist/mac/Info.plist
@@ -55,7 +55,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 5.0.1
+ 5.0.2
CFBundleExecutable
${EXECUTABLE_NAME}
CFBundleIdentifier
diff --git a/dist/unix/org.qbittorrent.qBittorrent.metainfo.xml b/dist/unix/org.qbittorrent.qBittorrent.metainfo.xml
index 783e9d311b9d..13012f1d59a7 100644
--- a/dist/unix/org.qbittorrent.qBittorrent.metainfo.xml
+++ b/dist/unix/org.qbittorrent.qBittorrent.metainfo.xml
@@ -62,6 +62,6 @@
https://github.com/qbittorrent/qBittorrent/blob/master/CONTRIBUTING.md
-
+
diff --git a/dist/windows/config.nsh b/dist/windows/config.nsh
index d8b076ccd6da..c811e81a798d 100644
--- a/dist/windows/config.nsh
+++ b/dist/windows/config.nsh
@@ -14,7 +14,7 @@
; 4.5.1.3 -> good
; 4.5.1.3.2 -> bad
; 4.5.0beta -> bad
-!define /ifndef QBT_VERSION "5.0.1"
+!define /ifndef QBT_VERSION "5.0.2"
; Option that controls the installer's window name
; If set, its value will be used like this:
diff --git a/src/base/version.h.in b/src/base/version.h.in
index 15741fe91fb4..50968eece9fd 100644
--- a/src/base/version.h.in
+++ b/src/base/version.h.in
@@ -30,7 +30,7 @@
#define QBT_VERSION_MAJOR 5
#define QBT_VERSION_MINOR 0
-#define QBT_VERSION_BUGFIX 1
+#define QBT_VERSION_BUGFIX 2
#define QBT_VERSION_BUILD 0
#define QBT_VERSION_STATUS "" // Should be empty for stable releases!