Skip to content

Commit

Permalink
FIX: Repair version fetcher
Browse files Browse the repository at this point in the history
- use `git describe --tags` to get correct ARCADE version

 On branch master
 Changes to be committed:
	modified:   arcade/Core/arcadeVersion.m
  • Loading branch information
pantaray committed May 20, 2022
1 parent 7b9ac71 commit 4020e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcade/Core/arcadeVersion.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function version = arcadeVersion
releaseVersion = '2.6';
gitCMD = 'git.exe';
[result, version] = system([gitCMD ' -C ' arcaderoot ' describe']);
[result, version] = system([gitCMD ' -C ' arcaderoot ' describe --tags']);
if ~result == 0
version = [releaseVersion, ' (zip-release)'];
else
Expand Down

0 comments on commit 4020e70

Please sign in to comment.