Skip to content

Commit

Permalink
lib3mf version estimation with debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaiaeroastro committed Jun 3, 2024
1 parent f554ea4 commit 4dd0867
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
LIB3MF_VERSION_MINOR=$(grep -oP 'set\(LIB3MF_VERSION_MINOR \K[0-9]+' CMakeLists.txt)
LIB3MF_VERSION_MICRO=$(grep -oP 'set\(LIB3MF_VERSION_MICRO \K[0-9]+' CMakeLists.txt)
LIB3MF_VERSION_PRERELEASE=$(grep -oP 'set\(LIB3MF_VERSION_PRERELEASE "\K[^"]+' CMakeLists.txt)
# Debug prints
echo "LIB3MF_VERSION_MAJOR=$LIB3MF_VERSION_MAJOR"
echo "LIB3MF_VERSION_MINOR=$LIB3MF_VERSION_MINOR"
echo "LIB3MF_VERSION_MICRO=$LIB3MF_VERSION_MICRO"
echo "LIB3MF_VERSION_PRERELEASE=$LIB3MF_VERSION_PRERELEASE"
# Combine the version components
if [ -z "$LIB3MF_VERSION_PRERELEASE" ]; then
Expand Down

0 comments on commit 4dd0867

Please sign in to comment.