Skip to content

Commit

Permalink
Fix bug prefix "v" was included in version number when tag instead of…
Browse files Browse the repository at this point in the history
… semver is used
  • Loading branch information
diegodlh committed Jun 8, 2020
1 parent 3e2eced commit 1af2e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function getVersion(buildType) {
throw new Error('cannot create production build with dirty git state!');
}

const version = `${gitInfo.tag}`;
const version = `${gitInfo.tag.substr(1)}`;
let versionName = 'Unofficial Build';

if (buildType !== 'production') {
Expand Down

0 comments on commit 1af2e13

Please sign in to comment.