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

version number #168

Open
xlc opened this issue Oct 15, 2024 · 0 comments
Open

version number #168

xlc opened this issue Oct 15, 2024 · 0 comments

Comments

@xlc
Copy link
Member

xlc commented Oct 15, 2024

          best to not hardcode the version number here

in other projects this is what we do:

  • read version from compile time defined variable, and fallback to short git commit ref
  • when making releases, have the release script to supply the proper version

not sure if spm supports build script to get git commit ref but we can totally have a defined variable and fallback to dev if we can't get git commit ref

Originally posted by @xlc in #165 (comment)

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

No branches or pull requests

1 participant