Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Create a Release workflow to publish new Source build artefacts #460

Open
6 tasks done
Tracked by #459
traunts opened this issue Dec 5, 2022 · 0 comments
Open
6 tasks done
Tracked by #459

Create a Release workflow to publish new Source build artefacts #460

traunts opened this issue Dec 5, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request refactor Code needs to be refactored

Comments

@traunts
Copy link
Collaborator

traunts commented Dec 5, 2022

Extend the existing build script to version the engine, build the artefacts and publish a release.
The intent is to use the semantic-release package, with supporting plugins to automate version numbering and release publishing

Steps:

  • Ensure that the workflow is able to distinguish between and handle releases from the master branch and prereleases from the development branch.
  • Configure semantic release with plugins to generate version numbers
    Requires the export-data plugin (linked above), dry-run as a step before building to write the version number before compilation.
  • Add workflow steps to write new version numbers to source code files before build.
    Need to edit Constants.h, containing the c_GameVersion field.
  • Add a new workflow job dependent on both build jobs that:
    • Downloads the build job artefacts
    • Runs semantic-release to package the release files, generate git tags, commit the changed version files & tag, and publish a new release.
@traunts traunts changed the title Create a new job/workflow to publish these builds as a new Source release. Create a Release workflow to publish new Source build artefacts Dec 5, 2022
@traunts traunts self-assigned this Dec 5, 2022
@traunts traunts added the enhancement New feature or request label Dec 5, 2022
@traunts traunts added the refactor Code needs to be refactored label Dec 8, 2022
@traunts traunts linked a pull request Dec 11, 2022 that will close this issue
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request refactor Code needs to be refactored
Projects
None yet
1 participant