Skip to content

Commit 76f900b

Browse files
committed
release: bump version to 3.5.0
1 parent 78df727 commit 76f900b

File tree

4 files changed

+15
-29
lines changed

4 files changed

+15
-29
lines changed

CMakeLists.txt

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -140,29 +140,14 @@ endif()
140140

141141
set(gv "${CMAKE_SOURCE_DIR}/src/gen_version.h")
142142

143-
# get git version hash
144-
if(EXISTS "${CMAKE_SOURCE_DIR}/.git")
145-
add_custom_command(OUTPUT "${gv}"
146-
COMMAND echo "#ifndef GEN_VERSION_H" > "${gv}"
147-
COMMAND echo "#define GEN_VERSION_H" >> "${gv}"
148-
COMMAND git log -n1 "--format=#define APP_VERSION \"%h_git\"" >> "${gv}"
149-
COMMAND echo "#define MAJOR_VERSION 999" >> "${gv}"
150-
COMMAND echo "#define MINOR_VERSION 0" >> "${gv}"
151-
COMMAND echo "#define PATCH_VERSION 0" >> "${gv}"
152-
COMMAND echo "#endif" >> "${gv}"
153-
DEPENDS .git/HEAD
154-
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
155-
VERBATIM)
156-
else()
157-
file(WRITE "${gv}"
158-
"#ifndef GEN_VERSION_H\n"
159-
"#define GEN_VERSION_H\n"
160-
"#define APP_VERSION \"999.0.0\"\n"
161-
"#define MAJOR_VERSION 999\n"
162-
"#define MINOR_VERSION 0\n"
163-
"#define PATCH_VERSION 0\n"
164-
"#endif\n")
165-
endif()
143+
file(WRITE "${gv}"
144+
"#ifndef GEN_VERSION_H\n"
145+
"#define GEN_VERSION_H\n"
146+
"#define APP_VERSION \"3.5.0\"\n"
147+
"#define MAJOR_VERSION 3\n"
148+
"#define MINOR_VERSION 5\n"
149+
"#define PATCH_VERSION 0\n"
150+
"#endif\n")
166151

167152
#icon and correct libs/subsystem for windows
168153
if(WIN32)
@@ -259,7 +244,7 @@ set(CPACK_PACKAGE_VENDOR "oldsch00l")
259244
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
260245
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
261246
set(CPACK_PACKAGE_VERSION_MAJOR "3")
262-
set(CPACK_PACKAGE_VERSION_MINOR "0")
247+
set(CPACK_PACKAGE_VERSION_MINOR "5")
263248
set(CPACK_PACKAGE_VERSION_PATCH "0")
264249
set(CPACK_PACKAGE_INSTALL_DIRECTORY "SqliteBrowser${CPACK_PACKAGE_VERSION_MAJOR}")
265250
if(WIN32 AND NOT UNIX)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ Follow us on Twitter: https://twitter.com/sqlitebrowser
9494

9595
## Releases
9696

97+
* [Version 3.5.0 released](https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.5.0) - 2015-01-31
9798
* [Version 3.4.0 released](https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.4.0) - 2014-10-29
9899
* [Version 3.3.1 released](https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.3.1) - 2014-08-31 - Project renamed from "SQLite Database Browser"
99100
* [Version 3.3.0 released](https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.3.0) - 2014-08-24

src/app.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@
6464
<key>CFBundlePackageType</key>
6565
<string>APPL</string>
6666
<key>CFBundleShortVersionString</key>
67-
<string>3.4.99</string>
67+
<string>3.5.0</string>
6868
<key>CFBundleSignature</key>
6969
<string>SqLB</string>
7070
<key>CFBundleVersion</key>
71-
<string>3.4.99</string>
71+
<string>3.5.0</string>
7272
<key>NSPrincipalClass</key>
7373
<string>NSApplication</string>
7474
<key>NSHighResolutionCapable</key>

src/gen_version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef GEN_VERSION_H
22
#define GEN_VERSION_H
3-
#define APP_VERSION "master_git"
4-
#define MAJOR_VERSION 999
5-
#define MINOR_VERSION 0
3+
#define APP_VERSION "3.5.0"
4+
#define MAJOR_VERSION 3
5+
#define MINOR_VERSION 5
66
#define PATCH_VERSION 0
77
#endif

0 commit comments

Comments
 (0)