Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
B
benchmark
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • benchmark
  • Repository

Switch branch/tag
  • benchmark
  • cmake
  • GetGitVersion.cmake
Find file
BlameHistoryPermalink
  • Kai Germaschewski's avatar
    fix version recorded in releases (#1047) · a4bcd937
    Kai Germaschewski authored May 20, 2021
    * cmake: fix handling the case where `git describe` fails
    
    * cmake: fix version recorded in releases
    
    If downloaded as a tarball release, there will be no info from git
    to determine the release, so it ends up v0.0.0. If that's the case,
    we'll now use the release specified in the project() command,
    which needs to be updated for each new release.
    
    * cmake: add `--tags` to `git describe`
    
    That way, lightweight tags will also be taken into account, which should
    never hurt, but it'll help in cases where, for some mysterious reason or
    other, annotated tags don't make it into a clone.
    
    * update releasing.md
    a4bcd937
GetGitVersion.cmake 1.82 KB
EditWeb IDE
×

Replace GetGitVersion.cmake

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.