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

Commit

Permalink
build: update to match TR1X
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Apr 25, 2024
1 parent 4a1ae3a commit 041ffb9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ jobs:

- name: "Checkout code"
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: "Download built game assets"
uses: actions/download-artifact@v4
Expand All @@ -107,7 +109,10 @@ jobs:

- name: "Generate changelog"
run: |
just output-current-changelog > _changes.txt
hash=$(git log -1 --pretty=format:%H)
tag=$(just output-current-version)
echo -e "**Commit: $hash** \n**Tag: $tag**\n\n### Changes\n" > _changes.txt
just output-current-changelog >> _changes.txt
- name: "Get information on the latest pre-release"
if: ${{ inputs.prerelease == true || inputs.prerelease == 'true' }}
Expand Down
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ build-win target='debug': (image-win "0") (_docker_run "-e" "TARGET="+targe

package-win: (build-win "release") (_docker_run "rrdash/tr2x" "package")

output-current-version:
tools/get_version

output-current-changelog:
tools/output_current_changelog

Expand Down

0 comments on commit 041ffb9

Please sign in to comment.