-
-
Notifications
You must be signed in to change notification settings - Fork 149
Version Management for release 0.5 and Beyond #2098
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
Draft
DeathFishAtEase
wants to merge
58
commits into
Phobos-developers:develop
Choose a base branch
from
DeathFishAtEase:versioning
base: develop
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.
Draft
Changes from 17 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
c3d7f57
initial
DeathFishAtEase 9613ff5
Sync file changes on the `develop` branch
DeathFishAtEase 9699d86
Merge remote-tracking branch 'Phobos-developers/develop' into versioning
DeathFishAtEase 000160d
Update build configurations, metadata and workflows
Starkku 9178a76
Fix minor error from testing
Starkku a918fd9
auto release and changelog
TaranDahl 156b4ac
Merge branch 'develop' into versioning
Metadorius 770ebbd
missed fix
Metadorius f382f08
Merge remote-tracking branch 'Phobos-developers/develop' into versioning
DeathFishAtEase 578f834
rewrite extract_changelog.ps1 to use heading-tree parsing
TaranDahl c5e0042
NO LATEST@!!!!!!!@11!!11
ZivDero 4969b9e
Apply suggestions from code review
ZivDero cca4bae
Merge remote-tracking branch 'Phobos-developers/develop' into versioning
ZivDero 34d0f58
Use a semver pre-release suffix instead of a pre-release build number
ZivDero ca19e75
Reword the version warning and require the full version to hide it
ZivDero 6a8b74d
Ship the exception database and SyringeEx with releases
ZivDero 3dc36c4
Resolve pre-release tags to their version's changelog section
ZivDero baaf7c8
Retire the leftovers of the removed DevBuild configuration
ZivDero 3f34bc7
Update devbuild terminology in the README and docs
ZivDero 91d45e5
Build release notes from the heading tree, grouped by type of change
ZivDero 934c6d7
Keep the patch number out of the savegame ID
ZivDero 66cdb46
Release pre-releases as their version plus the pre-release subsections
ZivDero b120288
Derive all build metadata from a single set of product and version de…
ZivDero e3f3c5c
Bump the version on develop to 0.5
ZivDero df6a7c9
Document when develop's version numbers are bumped
ZivDero 27ee94e
feat: unify build versioning and Git stamping
Metadorius a5dad45
feat: make PRERELEASE_SUFFIX the pre-release knob
Metadorius b4e7d7e
docs: document release process, adjust local build naming and release…
Metadorius ab6de15
fix discrepancy in terminology (git branch -> git ref)
Metadorius 1a6dce6
ci: rework PR doc-checker skip labels
Metadorius 14817e4
build: recover the git ref on detached HEAD checkouts
Metadorius bf9d92b
fix: restore the copyright symbol encoding in version.rc
Metadorius 5d8be21
ci: make the release changelog append idempotent
Metadorius d43c814
docs: fix version naming and stale savegame note
Metadorius ab2b516
add missed template changes
Metadorius 8aa514c
build: generate git info into a header instead of per-TU defines
Metadorius e5707b0
docs: illustrate the version lifecycle with a branch diagram
Metadorius 2484dcd
missed whitespace removal
Metadorius 8a63b43
build: align IntelliSense config with the generated header and build …
Metadorius f337870
version the vanilla migration doc
Metadorius 69d8d02
scripts: rework pre-release handling in changelog extraction
Metadorius 4c5685d
draft doc fixup
Metadorius be7fe37
Fix the documented name of the crushing tilt keys
ZivDero 2e99b20
better migration doc structure
Metadorius f22ee78
link to relevant sections
Metadorius 8972af1
Merge remote-tracking branch 'origin/develop' into versioning
Metadorius 364e62c
update doc
DeathFishAtEase 151cc4c
Attempt to improve the script to work in scenarios without adding a t…
DeathFishAtEase 494a24d
ignore `:open:`
DeathFishAtEase 1790e86
update tr.
DeathFishAtEase b0ab581
Revert "ignore `:open:`"
Metadorius ee5b719
Revert "Attempt to improve the script to work in scenarios without ad…
Metadorius e378af2
fix locale doc build script
Metadorius d59faab
docs: keep docutils system messages out of gettext catalogs
Metadorius d563f2d
docs: harden sanitize_system_messages against docutils message format
Metadorius 2229d48
docs: Deepusheenk-translated stuff
Metadorius 0c41a38
docs: run system-message sanitization before translation
Metadorius 4fce17b
[doc] fix the links
DeathFishAtEase File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,66 @@ | ||
| name: Release Build | ||
|
|
||
| on: | ||
| release: | ||
| types: [published] | ||
|
|
||
| env: | ||
| SOLUTION_FILE_PATH: . | ||
| BUILD_CONFIGURATION: Release | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: windows-2022 | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v7 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Determine Build Type and Version Info | ||
| id: info | ||
| shell: pwsh | ||
| run: | | ||
| $tag = "${{ github.ref_name }}" | ||
| $version = $tag.TrimStart('v') | ||
| $isPrerelease = "${{ github.event.release.prerelease }}" | ||
| if ($isPrerelease -eq "true") { | ||
| $buildType = "PRERELEASE" | ||
| $releaseName = "Phobos $tag (Pre-release)" | ||
| } else { | ||
| $buildType = "RELEASE" | ||
| $releaseName = "Phobos $tag" | ||
| } | ||
| echo "build-type=$buildType" >> $env:GITHUB_OUTPUT | ||
| echo "version=$version" >> $env:GITHUB_OUTPUT | ||
| echo "release-name=$releaseName" >> $env:GITHUB_OUTPUT | ||
|
|
||
| - name: Build Phobos | ||
| uses: ./.github/actions/build-phobos | ||
| with: | ||
| sln-path: ${{env.SOLUTION_FILE_PATH}} | ||
| build-config: ${{ env.BUILD_CONFIGURATION }} | ||
| build-type: ${{ steps.info.outputs.build-type }} | ||
|
|
||
| - name: Extract Changelog | ||
| shell: pwsh | ||
| run: | | ||
| .\scripts\extract_changelog.ps1 ` | ||
| -Tag "${{ github.ref_name }}" ` | ||
| -WhatsNewPath docs\Whats-New.md ` | ||
| -OutputPath RELEASE_NOTES.md | ||
|
|
||
| - name: Upload Release Assets | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| name: ${{ steps.info.outputs.release-name }} | ||
| files: | | ||
| ${{ env.BUILD_CONFIGURATION }}/Phobos.dll | ||
| ${{ env.BUILD_CONFIGURATION }}/Phobos.pdb | ||
| ${{ env.BUILD_CONFIGURATION }}/gamemd.edb | ||
| ${{ env.BUILD_CONFIGURATION }}/Syringe.exe | ||
| ${{ env.BUILD_CONFIGURATION }}/Syringe.LICENSE.txt | ||
| body_path: RELEASE_NOTES.md | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Update to reflect changes on master (.edb, Syringe.exe, etc.)