From f533d9d7eaff5a19751b802a136598dbebb1f5ef Mon Sep 17 00:00:00 2001
From: Konstantinos Sideris <sideris.konstantin@gmail.com>
Date: Fri, 25 May 2018 10:15:51 +0300
Subject: [PATCH] Bump version to 0.4.2

---
 CMakeLists.txt |  2 +-
 appveyor.yml   | 12 ++++++------
 package.nix    |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index df9f83ddc..e68599689 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@ include(QtCommon)
 project(nheko LANGUAGES C CXX)
 set(CPACK_PACKAGE_VERSION_MAJOR "0")
 set(CPACK_PACKAGE_VERSION_MINOR "4")
-set(CPACK_PACKAGE_VERSION_PATCH "1")
+set(CPACK_PACKAGE_VERSION_PATCH "2")
 set(PROJECT_VERSION_MAJOR ${CPACK_PACKAGE_VERSION_MAJOR})
 set(PROJECT_VERSION_MINOR ${CPACK_PACKAGE_VERSION_MINOR})
 set(PROJECT_VERSION_PATCH ${CPACK_PACKAGE_VERSION_PATCH})
diff --git a/appveyor.yml b/appveyor.yml
index 9c570f753..9924c75b4 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,6 +1,6 @@
 ---
 
-version: 0.4.1-{build}
+version: 0.4.2-{build}
 
 configuration: Release
 image: Visual Studio 2017
@@ -21,8 +21,8 @@ build_script:
     # VERSION format:     branch-master/branch-1.2
     # INSTVERSION format: x.y.z
     # WINVERSION format:  9999.0.0.123/1.2.0.234
-    - if "%APPVEYOR_REPO_TAG%"=="false" set INSTVERSION=0.4.1
-    - if "%APPVEYOR_REPO_TAG%"=="false" set VERSION=0.4.1
+    - if "%APPVEYOR_REPO_TAG%"=="false" set INSTVERSION=0.4.2
+    - if "%APPVEYOR_REPO_TAG%"=="false" set VERSION=0.4.2
     - if "%APPVEYOR_REPO_TAG%"=="false" if "%APPVEYOR_REPO_BRANCH%"=="master" set INSTVERSION=9999.0
     - if "%APPVEYOR_REPO_TAG%"=="false" set WINVERSION=%INSTVERSION%.0.%APPVEYOR_BUILD_NUMBER%
     # VERSION format:     v1.2.3/v1.3.4
@@ -82,9 +82,9 @@ after_build:
     - copy %BUILD%\deploy\installer\cleanup\package.xml installer\packages\com.mujx.nheko.cleanup\meta
     - copy %BUILD%\deploy\installer\cleanup\installscript.qs installer\packages\com.mujx.nheko.cleanup\meta
     # Amend version and date
-    - sed -i "s/__VERSION__/0.4.1/" installer\config\config.xml
-    - sed -i "s/__VERSION__/0.4.1/" installer\packages\com.mujx.nheko\meta\package.xml
-    - sed -i "s/__VERSION__/0.4.1/" installer\packages\com.mujx.nheko.cleanup\meta\package.xml
+    - sed -i "s/__VERSION__/0.4.2/" installer\config\config.xml
+    - sed -i "s/__VERSION__/0.4.2/" installer\packages\com.mujx.nheko\meta\package.xml
+    - sed -i "s/__VERSION__/0.4.2/" installer\packages\com.mujx.nheko.cleanup\meta\package.xml
     - sed -i "s/__DATE__/%DATE%/" installer\packages\com.mujx.nheko\meta\package.xml
     - sed -i "s/__DATE__/%DATE%/" installer\packages\com.mujx.nheko.cleanup\meta\package.xml
     # Copy nheko data
diff --git a/package.nix b/package.nix
index da6296fea..498c25c2f 100644
--- a/package.nix
+++ b/package.nix
@@ -1,6 +1,6 @@
 { stdenv, qtbase, qttranslations, qtmultimedia, lmdb, cmake }:
 stdenv.mkDerivation rec {
-  version = "0.4.1";
+  version = "0.4.2";
   name = "nheko-${version}";
   src = builtins.filterSource
     (path: type:
-- 
GitLab