OpenRCT2 / OpenRCT2/OpenRCT2

AppImage should receive better version number

Open
#10,689 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
16.2k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
80

Description

screenshot

Currently, only a git hash is embedded as a version number. Git hashs are not version numbers, at most I can tell two different AppImages apart, but they're not monotonic and have no relation to the version number displayed e.g., inside the game.

By calling export VERSION=... before calling linuxdeploy/appimagetool you can embed a proper version number. This is a common pattern for making AppImages:

> export VERSION=$(git describe --tags)
> ./linuxdeploy-*.AppImage ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Linux AppImage packaging flow that invokes linuxdeploy and appimagetool; the issue does not name a specific file or test. Trace how the current Git hash becomes the embedded version, then verify that exporting VERSION from git describe --tags produces a proper version in the generated AppImage.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
build-system, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.