Skip to content

Commit

Permalink
[autorevision.cmake]: When on a tag, clear VCS_BRANCH
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Feb 25, 2020
1 parent c9b3192 commit df43342
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build_tools/autorevision.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ macro(_appVeyorBuild)
endif()
endif()
set(VCS_TAG "$ENV{APPVEYOR_REPO_TAG_NAME}")

# When on a tag, clear VCS_BRANCH
set(VCS_BRANCH "")
endif()

endmacro()
Expand Down Expand Up @@ -450,6 +453,9 @@ macro(_azureCIBuild)
endif()
endif()
set(VCS_TAG "${_extracted_tag_name}")

# When on a tag, clear VCS_BRANCH
set(VCS_BRANCH "")
endif()

endmacro()
Expand Down

0 comments on commit df43342

Please sign in to comment.