Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
programmerjake committed Jun 4, 2015
1 parent 8b39d78 commit f7f3498
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/util/game_version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
#include "util/game_version.h"

const std::wstring programmerjake::voxels::GameVersion::VERSION = L"0.7.3.1";
const std::wstring programmerjake::voxels::GameVersion::VERSION = L"0.7.4.1";
const std::uint32_t programmerjake::voxels::GameVersion::FILE_VERSION = 5;

#ifdef COMPILE_DUMP_VERSION
Expand All @@ -36,9 +36,9 @@ int main(int argc, char ** argv)
if(argc > 1 && string(argv[1]) == "--next-version")
cout << (curVersion + 1) << endl;
else if(argc > 1 && string(argv[1]) == "--next-version-str")
cout << "0.7.3." << (curVersion + 1) << endl;
cout << "0.7.4." << (curVersion + 1) << endl;
else if(argc > 1)
cout << "0.7.3." << curVersion << endl;
cout << "0.7.4." << curVersion << endl;
else
cout << GameVersion::FILE_VERSION << endl;
return 0;
Expand Down
4 changes: 2 additions & 2 deletions update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ int main(int argc, char ** argv)
if(argc > 1 && string(argv[1]) == "--next-version")
cout << (curVersion + 1) << endl;
else if(argc > 1 && string(argv[1]) == "--next-version-str")
cout << "0.7.3." << (curVersion + 1) << endl;
cout << "0.7.4." << (curVersion + 1) << endl;
else if(argc > 1)
cout << "0.7.3." << curVersion << endl;
cout << "0.7.4." << curVersion << endl;
else
cout << GameVersion::FILE_VERSION << endl;
return 0;
Expand Down

0 comments on commit f7f3498

Please sign in to comment.