diff --git a/src/002-config/fc-version.js b/src/002-config/fc-version.js index 88d1b12cba6f9a716cc394072396baa8c88d9b12..16097a52154e749812ca2116eeaa5a00979d7d47 100644 --- a/src/002-config/fc-version.js +++ b/src/002-config/fc-version.js @@ -4,6 +4,3 @@ App.Version = { commitHash: null, release: 1072 }; - -/* Use release as save version */ -Config.saves.version = App.Version.release; diff --git a/src/002-config/fc-version_after.js b/src/002-config/fc-version_after.js new file mode 100644 index 0000000000000000000000000000000000000000..cd8bcc76cc575c441aad95a943edc493007bfd77 --- /dev/null +++ b/src/002-config/fc-version_after.js @@ -0,0 +1,3 @@ +// Use release as save version +// We need to do this in a file after fc-version.js because the commit hash gets appended to it during compiling +Config.saves.version = `${App.Version.release}${App.Version.commitHash ? (`#${App.Version.commitHash}`) : ''}`;