Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 8f13d5e

Browse files
committed
Git hooks updated for mono repo
1 parent a450aa5 commit 8f13d5e

File tree

16 files changed

+16
-16
lines changed

16 files changed

+16
-16
lines changed

api_server/bin/cs_api-tc-buildstep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ buildOptions = {
3232
}
3333

3434
# 4. Set this if you want your applied git tags to be something other than 'v' (v1.2.3)
35-
# buildOptions['gitTagPrefix'] = "mytag-"
35+
buildOptions['gitTagPrefix'] = "api-"
3636

3737
if args.verbose:
3838
print("buildstep running with", args.action)

api_server/hooks/post-checkout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
. hooks/git_hooks.sh || exit 1
3+
. $CS_API_TOP/hooks/git_hooks.sh || exit 1
44

55
echo "$0 is running"
66
#echo "(pwd=`pwd`, args=$*)"

api_server/hooks/post-merge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
. hooks/git_hooks.sh || exit 1
3+
. $CS_API_TOP/hooks/git_hooks.sh || exit 1
44

55
echo "$0 is running"
66
echo "(pwd=`pwd`, args=$*)"

api_server/hooks/post-rewrite

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
. hooks/git_hooks.sh || exit 1
3+
. $CS_API_TOP/hooks/git_hooks.sh || exit 1
44

55
echo "$0 is running"
66
echo "(pwd=`pwd`, args=$*)"

broadcaster/bin/cs_broadcaster-tc-buildstep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ buildOptions = {
2929
}
3030

3131
# 4. Set this if you want your applied git tags to be something other than 'v' (v1.2.3)
32-
# buildOptions['gitTagPrefix'] = "mytag-"
32+
buildOptions['gitTagPrefix'] = "broadcaster-"
3333

3434
if args.verbose:
3535
print("buildstep running with", args.action)

broadcaster/hooks/post-checkout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ prev_head=$1
66
new_head=$2
77
checkout_type=$3 # 1=branch checkout, 0=file checkout
88

9-
. hooks/git_hooks.sh || exit 1
9+
. $CS_BROADCASTER_TOP/hooks/git_hooks.sh || exit 1
1010

1111
if [[ "$prev_head" != "$new_head" ]]; then
1212
githook_reconfigure_sandbox

broadcaster/hooks/post-merge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo "Git hook $0 is running"
44
echo "(pwd=`pwd`, args=$*)"
55
squash_merge=$1
66

7-
. hooks/git_hooks.sh || exit 1
7+
. $CS_BROADCASTER_TOP/hooks/git_hooks.sh || exit 1
88

99
githook_reconfigure_sandbox
1010
exit 0

broadcaster/hooks/post-rewrite

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo "Git hook $0 is running"
44
echo "(pwd=`pwd`, args=$*)"
55
called_by=$1
66

7-
. hooks/git_hooks.sh || exit 1
7+
. $CS_BROADCASTER_TOP/hooks/git_hooks.sh || exit 1
88

99
githook_reconfigure_sandbox
1010
exit 0

inbound_email/bin/cs_mailin-tc-buildstep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ buildOptions = {
2828
}
2929

3030
# 4. Set this if you want your applied git tags to be something other than 'v' (v1.2.3)
31-
# buildOptions['gitTagPrefix'] = "mytag-"
31+
buildOptions['gitTagPrefix'] = "mailin-"
3232

3333
if args.verbose:
3434
print("buildstep running with", args.action)

inbound_email/hooks/post-checkout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# post-checkout hook
44

5-
. hooks/git_hooks.sh || exit 1
5+
. $CS_MAILIN_TOP/hooks/git_hooks.sh || exit 1
66

77
echo "$0 is running"
88
#echo "(pwd=`pwd`, args=$*)"

0 commit comments

Comments
 (0)