Skip to content
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

Create ULWGL_VERSION.json when building #52

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

loathingKernel
Copy link
Contributor

@loathingKernel loathingKernel commented Mar 3, 2024

This PR adds the ability to create ULWGL_VERSION.json when building. This should help with packages tracking development and automate updates.

New targets:

  • make version : Creates ULWGL_VERSION.json from ULWGL_VERSION.json.in by using git describe on the the project's directory. It also updates reaper version in the same way. The version is described in the --long format for uniqueness.
  • make release : Creates a release tarball versioned by the most recent tag. Useful for source releases that can be downloaded and built.

The version target is automatically run when appropriate when building.

For development purposes make version can also be used to prepare ULWGL_VERSION.json when running from source.

@loathingKernel loathingKernel marked this pull request as ready for review March 3, 2024 13:03
mkdir -p $(<)
rm -rf ULWGL/__pycache__
cp -r ULWGL flatpak subprojects Makefile.in configure.sh README.md LICENSE $(<)
tar -cvzf $(<).tar.gz $(<)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test files are included in the archive and I'd really not want them them to be distributed...

Other than that, I think everything else is fine and I'll merge this ASAP after you make that change

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, these are just the source code files and not that actually release archive to be distributed, right?

@R1kaB3rN R1kaB3rN merged commit b299c67 into Open-Wine-Components:main Mar 8, 2024
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