Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
mujx committed Apr 3, 2018
1 parent 33a8628 commit 8dc17cc
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 66 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ include(QtCommon)

project(nheko LANGUAGES C CXX)
set(CPACK_PACKAGE_VERSION_MAJOR "0")
set(CPACK_PACKAGE_VERSION_MINOR "2")
set(CPACK_PACKAGE_VERSION_PATCH "1")
set(CPACK_PACKAGE_VERSION_MINOR "3")
set(CPACK_PACKAGE_VERSION_PATCH "0")
set(PROJECT_VERSION_MAJOR ${CPACK_PACKAGE_VERSION_MAJOR})
set(PROJECT_VERSION_MINOR ${CPACK_PACKAGE_VERSION_MINOR})
set(PROJECT_VERSION_PATCH ${CPACK_PACKAGE_VERSION_PATCH})
Expand Down
12 changes: 6 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

version: 0.2.0-{build}
version: 0.3.0-{build}

environment:
global:
Expand All @@ -22,8 +22,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.2.0
- if "%APPVEYOR_REPO_TAG%"=="false" set VERSION=0.2.0
- if "%APPVEYOR_REPO_TAG%"=="false" set INSTVERSION=0.3.0
- if "%APPVEYOR_REPO_TAG%"=="false" set VERSION=0.3.0
- 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
Expand Down Expand Up @@ -78,9 +78,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.2.0/" installer\config\config.xml
- sed -i "s/__VERSION__/0.2.0/" installer\packages\com.mujx.nheko\meta\package.xml
- sed -i "s/__VERSION__/0.2.0/" installer\packages\com.mujx.nheko.cleanup\meta\package.xml
- sed -i "s/__VERSION__/0.3.0/" installer\config\config.xml
- sed -i "s/__VERSION__/0.3.0/" installer\packages\com.mujx.nheko\meta\package.xml
- sed -i "s/__VERSION__/0.3.0/" 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
Expand Down
56 changes: 0 additions & 56 deletions dist/AUR/PKGBUILD

This file was deleted.

2 changes: 1 addition & 1 deletion package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, qtbase, qttranslations, qtmultimedia, lmdb, cmake }:
stdenv.mkDerivation rec {
version = "0.2.0";
version = "0.3.0";
name = "nheko-${version}";
src = builtins.filterSource
(path: type:
Expand Down
3 changes: 2 additions & 1 deletion src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "MainWindow.h"
#include "RaisedButton.h"
#include "RunGuard.h"
#include "version.hpp"

QPoint
screenCenter(int width, int height)
Expand Down Expand Up @@ -119,7 +120,7 @@ main(int argc, char *argv[])
}

QCoreApplication::setApplicationName("nheko");
QCoreApplication::setApplicationVersion("0.2.0");
QCoreApplication::setApplicationVersion(nheko::version);
QCoreApplication::setOrganizationName("nheko");
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);

Expand Down

0 comments on commit 8dc17cc

Please sign in to comment.