We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
git branch --show
ds_branch
update_self
1 parent 6cb80ef commit e0f4b7fCopy full SHA for e0f4b7f
1 file changed
.scripts/update_self.sh
@@ -12,7 +12,7 @@ update_self() {
12
fi
13
14
pushd "${SCRIPTPATH}" &> /dev/null || fatal "Failed to change directory.\nFailing command: ${F[C]}push \"${SCRIPTPATH}\""
15
- CurrentBranch="$(git branch --show)"
+ CurrentBranch="$(ds_branch)"
16
CurrentVersion="$(ds_version)"
17
local Title="Update ${APPLICATION_NAME}"
18
local Question YesNotice NoNotice
0 commit comments