Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow defining nightly ID from CI #175

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

wlhlm
Copy link
Member

@wlhlm wlhlm commented Nov 10, 2024

The ultimate nightly ID is set by GH Actions, however this ID isn't passed to DAXXL, which means if a nightly CI job fails, the nightly (job) ID still increases, while the ID in gtnh-assets.json is unaltered. This is most noticeable in the naming of the generated changelog files whose names no longer correspond to the correct nightly release zips.

This PR fixes this by adding a new cmdline argument which allows setting the numeric nightly ID directly. This includes validation to make sure that the new ID is always larger than the last nightly.

Allows setting nightly id externally. This is necessary for CI (GH
Actions) to keep DAXXL id in sync with CI run id.
@Dream-Master Dream-Master merged commit 63caddb into master Nov 20, 2024
1 check passed
@Dream-Master Dream-Master deleted the nightly-version-string-through-ci branch November 20, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants