Hello Construct Community,
I'm building a CI/CD pipeline for HTML5 deployment. I'd like to update the project's version programmatically (like editing one of the .js file or the like), aka not to have to open the editor and change it manually.
How can I best achieve this?
Thanks,
Tsuro
Save the project as a folder, and change properties.version in the .c3proj file.
ok, thanks.
1/ download the .c3p zip (manual)
2/ unzip (automated)
3/ update project.c3prof (automated)
4/ zip (automated)
How do I export the updated .c3p zip to HTML5?
Construct can directly save to a folder.
I'm afraid there is not currently any automated way to export projects. It would be pretty complicated to do as well, since exporting uses quite a lot of information, it varies a lot between each export option, and it's not clear how you'd automate it from within a browser either.
Develop games in your browser. Powerful, performant & highly capable.
I see. I'll include a manual step in the release process. Thanks.