Skip to content

Conversation

@filipecosta90
Copy link

  • Add --version command-line option using getopt_long
  • Create version.h header with PERF_TO_PROFILE_VERSION macro
  • Add PrintVersion() function to display version information
  • Create generate-version.sh script for git-based version generation
  • Update build scripts to generate version info before compilation
  • Add version.h to perf_to_profile_lib BUILD target
  • Support both tagged releases and development builds
  • Version format: tag-commits-hash (e.g., v1.0.0-5-g1a2b3c4)
  • Fallback to 'development' when not in git repository
  • Update CI workflow to generate version information

- Add --version command-line option using getopt_long
- Create version.h header with PERF_TO_PROFILE_VERSION macro
- Add PrintVersion() function to display version information
- Create generate-version.sh script for git-based version generation
- Update build scripts to generate version info before compilation
- Add version.h to perf_to_profile_lib BUILD target
- Support both tagged releases and development builds
- Version format: tag-commits-hash (e.g., v1.0.0-5-g1a2b3c4)
- Fallback to 'development' when not in git repository
- Update CI workflow to generate version information
@fcostaoliveira fcostaoliveira merged commit fe05993 into master Jul 24, 2025
6 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.

3 participants