-
Notifications
You must be signed in to change notification settings - Fork 837
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GDevelop project files so they are versioned with the same versio…
…n as the editor (#6859) Only show in developer changelog
- Loading branch information
Showing
8 changed files
with
23 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
// Deprecated version number that was used for GDevelop 4, but still | ||
// used to version the project files. | ||
// Might be a good idea to refactor this at some point to make it | ||
// clearer this is used for the versioning of the project files. | ||
#define GD_VERSION_STRING "4.0.99-0-release" | ||
#define GD_VERSION_RC 4,0,99,0-0-release | ||
#define GD_VERSION_RC_STRING "4, 0, 99, 0-0-release\0" | ||
#define GD_DATE_STRING __DATE__ | ||
// This file is automatically synchronizing with newIDE/electron-app/app/package.json version | ||
// Check GDevelop/scripts/sync-versions.js for more details | ||
#define GD_VERSION_STRING "4.0.99-0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const path = require('path'); | ||
const fs = require('fs'); | ||
|
||
const [gdVersion, prerelease] = require('../../newIDE/electron-app/app/package.json').version.split('-'); | ||
const versionPrivContent = | ||
`// This file is automatically synchronizing with newIDE/electron-app/app/package.json version | ||
// Check GDevelop/scripts/sync-versions.js for more details | ||
#define GD_VERSION_STRING "${gdVersion}-${prerelease || 0}" | ||
`; | ||
|
||
fs.writeFileSync(path.join(__dirname, "../../Core/GDCore/Tools/VersionPriv.h"), versionPrivContent, "utf8"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters