Commit graph

8 commits

Author SHA1 Message Date
Marcin Kurczewski
ff559580bf misc: merge tr2 and libtrx codebases 2024-10-03 10:36:35 +02:00
Marcin Kurczewski
6d71455dd8 tools: move to libtrx; remove memleaks patch 2024-04-30 09:57:59 +02:00
Marcin Kurczewski
135f876e51
build: include current version in the changelog
When only the assets of a pre-release change, GitHub webhooks do not
send out a release event. This change forces the pre-release description
text to change with every release, so that we get notifications about
new builds on Discord.

Also, change the asset names to not include spaces.
2024-04-24 22:18:24 +02:00
Marcin Kurczewski
18456cbe71
build: do not fail if git is missing
Resolves #1296
2024-04-11 23:37:39 +02:00
Fabrice Delliaux
6349483b93
build: change directory before calling git
Fix linux build issue : https://github.com/LostArtefacts/TR1X/issues/1296

'init.c' file is generated into meson build directory.

> [3/201] /usr/bin/python3 /var/tmp/portage/games-engines/TR1X-9999/work/TR1X-9999/tools/generate_init -o init.c
> FAILED: init.c
> /usr/bin/python3 /var/tmp/portage/games-engines/TR1X-9999/work/TR1X-9999/tools/generate_init -o init.c
> fatal: not a git repository (or any parent up to mount point /var/tmp)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
> Traceback (most recent call last):
>   File "/var/tmp/portage/games-engines/TR1X-9999/work/TR1X-9999/tools/generate_init", line 37, in <module>
>     main()
>   File "/var/tmp/portage/games-engines/TR1X-9999/work/TR1X-9999/tools/generate_init", line 31, in main
>     update_init_c(output_path=args.output)
>   File "/var/tmp/portage/games-engines/TR1X-9999/work/TR1X-9999/tools/generate_init", line 23, in update_init_c
>     new_text = get_init_c()
>                ^^^^^^^^^^^^
>   File "/var/tmp/portage/games-engines/TR1X-9999/work/TR1X-9999/tools/generate_init", line 19, in get_init_c
>     return TEMPLATE.format(version=generate_version())
>                                    ^^^^^^^^^^^^^^^^^^
>   File "/var/tmp/portage/games-engines/TR1X-9999/work/TR1X-9999/tools/shared/versioning.py", line 21, in generate_version
>     version = get_branch_version(None)
>               ^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/var/tmp/portage/games-engines/TR1X-9999/work/TR1X-9999/tools/shared/versioning.py", line 5, in get_branch_version
>     return check_output(
>            ^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
>     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/subprocess.py", line 571, in run
>     raise CalledProcessError(retcode, process.args,
> subprocess.CalledProcessError: Command '['git', 'describe', '--dirty', '--always', '--abbrev=7', '--tags', '--exclude', 'latest']' returned non-zero exit status 128.

Signed-off-by: Fabrice Delliaux <netbox253@gmail.com>
2024-04-11 23:36:12 +02:00
Marcin Kurczewski
3b5e6d7320
tools: add release script 2024-04-10 10:26:30 +02:00
Marcin Kurczewski
e35c7a3bad build: add development snapshots 2024-03-26 21:11:01 +01:00
Marcin Kurczewski
0bfa2bb84b tools/docker: use Python entrypoints 2024-03-26 09:13:38 +01:00