Skip to content

Conversation

@LourensVeen
Copy link
Member

This adds a VERSION file in the root containing a template that is filled out with the current version by git when a tarball is created using git archive. It also extends the Python package builds to use that version if we're not building from a git repository.

Note that git looks only for full git tags, not lightweight ones as we've been using so far. So this will require using git tag -a vxxxx.y.z to tag releases from now on. There's an option to also take lightweight tags into account, but it seems to be broken. Anyway, for tagging releases full tags are the standard, so we might as well do that.

With this merged and releases tagged appropriately, users will be able to install from a tarball, which saves download time and bandwidth and can be done with curl, which is available by default on macOS and most Linux installations and so saves an additional git installation step.

@LourensVeen LourensVeen requested a review from a team as a code owner June 1, 2025 11:55
@LourensVeen LourensVeen requested a review from rieder June 1, 2025 11:56
@LourensVeen LourensVeen self-assigned this Jun 1, 2025
@LourensVeen LourensVeen merged commit c70b3ff into amusecode:main Jun 3, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants