-
Notifications
You must be signed in to change notification settings - Fork 37
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
GH Actions: Package source builds into GitHub releases as archive files #190
Open
dijksterhuis
wants to merge
20
commits into
Savage-Game-Design:development
Choose a base branch
from
dijksterhuis:add-release-ci-builds
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
GH Actions: Package source builds into GitHub releases as archive files #190
dijksterhuis
wants to merge
20
commits into
Savage-Game-Design:development
from
dijksterhuis:add-release-ci-builds
Conversation
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
dijksterhuis
force-pushed
the
add-release-ci-builds
branch
from
November 22, 2024 17:31
19cff92
to
465dd5f
Compare
dijksterhuis
changed the title
Release CI builds of zip/tar.gz archives.
GH Actions: Release archives for source builds
Nov 22, 2024
dijksterhuis
changed the title
GH Actions: Release archives for source builds
GH Actions: Package source builds into GitHub releases as archive files
Nov 22, 2024
dijksterhuis
commented
Nov 22, 2024
dijksterhuis
commented
Nov 22, 2024
dijksterhuis
commented
Nov 22, 2024
dijksterhuis
commented
Nov 22, 2024
dijksterhuis
commented
Nov 22, 2024
dijksterhuis
force-pushed
the
add-release-ci-builds
branch
from
November 23, 2024 01:12
d835665
to
42ec502
Compare
All mission builds tested from the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Example release can be seen here: https://github.com/dijksterhuis/bn-mf/releases/tag/v1.00.04.indev
Packaged source builds on a
development
commit pushBuilds release archives via GitHub Actions and a python script, so folks can more easily download and build their own missions. Archives can be extracted into an Arma3 MPMissions directory without any changes.
See full list below for more details
The only commit pushes to development are from PRs, so a PR merge commit should be the only thing triggering the build.
Automated releases
Changed contents of
mission/version.hpp
will result in a change of the release and respective release tag once merged intodevelopment
-- no need to manually tag / create releases anymore.Any commits using a previously released version in
mission/version.hpp
will be appended to that existing release.So, switching from
vX.XX.XX Indev
tovX.XX.XX
will create a new release with a single commit. Can edit the release manually, copy pasting the contents of the Indev release. Or, add more commits and continue building the latest release.Full list of archive files added to a release:
$ unzip -l release/vn_mikeforce_1_00_04_indev.all.zip | head -n 15 Archive: release/vn_mikeforce_1_00_04_indev.all.zip Length Date Time Name --------- ---------- ----- ---- 0 2024-11-22 17:11 vn_mikeforce_1_00_04_indev.altis/ 0 2024-11-22 17:11 vn_mikeforce_1_00_04_indev.cam_lao_nam/ 0 2024-11-22 17:11 vn_mikeforce_1_00_04_indev.vn_khe_sanh/ 0 2024-11-22 17:11 vn_mikeforce_1_00_04_indev.vn_the_bra/ 0 2024-06-18 21:03 vn_mikeforce_1_00_04_indev.altis/config/ 0 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/eventhandlers/ 0 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/functions/ 0 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/img/ 0 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/map_config/ 0 2024-11-22 17:11 vn_mikeforce_1_00_04_indev.altis/paradigm/ 87 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/version.hpp 12609 2024-11-22 08:16 vn_mikeforce_1_00_04_indev.altis/para_server_init.sqf
$ unzip -l release/vn_mikeforce_1_00_04_indev.altis.zip | head -n 15 Archive: release/vn_mikeforce_1_00_04_indev.altis.zip Length Date Time Name --------- ---------- ----- ---- 0 2024-11-22 17:11 vn_mikeforce_1_00_04_indev.altis/ 0 2024-06-18 21:03 vn_mikeforce_1_00_04_indev.altis/config/ 0 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/eventhandlers/ 0 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/functions/ 0 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/img/ 0 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/map_config/ 0 2024-11-22 17:11 vn_mikeforce_1_00_04_indev.altis/paradigm/ 87 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/version.hpp 12609 2024-11-22 08:16 vn_mikeforce_1_00_04_indev.altis/para_server_init.sqf 1246 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/para_player_preload_client.sqf 70440 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/stringtable.xml 2003 2024-06-18 15:12 vn_mikeforce_1_00_04_indev.altis/para_player_loaded_client.sqf