Skip to content

Commit

Permalink
[release/8.0.1xx-xcode15.4] Fix mistake in branch calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Aug 27, 2024
1 parent a618110 commit 04a8b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ PACKAGE_HEAD_REV=$(shell git rev-parse HEAD)
ifneq ($(BUILD_SOURCEBRANCH),)
# BUILD_SOURCEBRANCH is set in Azure DevOps, so use that value if it exists
# it seems to always start with refs/heads/, so strip off that first.
CURRENT_BRANCH:=$(subst refs/heads,,${BUILD_SOURCEBRANCH})
CURRENT_BRANCH:=$(subst refs/heads/,,${BUILD_SOURCEBRANCH})
else ifeq ($(BRANCH_NAME),)
# BRANCH_NAME is set in Jenkins, so this is for local builds.
CURRENT_BRANCH:=$(shell git rev-parse --abbrev-ref HEAD)
Expand Down

0 comments on commit 04a8b84

Please # to comment.