File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -539,4 +539,4 @@ require (
539
539
540
540
replace github.com/moby/buildkit v0.11.0 => github.com/moby/buildkit v0.12.5
541
541
542
- replace github.com/DataDog/datadog-agent => github.com/StackVista/datadog-agent-upstream-for-process-agent v0.0.0-20250319151048-be348c0f6c9a
542
+ replace github.com/DataDog/datadog-agent => github.com/StackVista/datadog-agent-upstream-for-process-agent v0.0.0-20250320133125-5b2b83ced2c0
Original file line number Diff line number Diff line change @@ -325,8 +325,8 @@ github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQA
325
325
github.com/StackExchange/wmi v0.0.0-20181212234831-e0a55b97c705 /go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg =
326
326
github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA =
327
327
github.com/StackExchange/wmi v1.2.1 /go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8 =
328
- github.com/StackVista/datadog-agent-upstream-for-process-agent v0.0.0-20250319151048-be348c0f6c9a h1:sWDzxVoXVKMYmWOAUx00E9igSsRWcVKNE7uDtNXWg90 =
329
- github.com/StackVista/datadog-agent-upstream-for-process-agent v0.0.0-20250319151048-be348c0f6c9a /go.mod h1:ouLSAUPgAZplxpo8ylN9sx9cXUjdsFnO3IT3QDq+ag0 =
328
+ github.com/StackVista/datadog-agent-upstream-for-process-agent v0.0.0-20250320133125-5b2b83ced2c0 h1:NKP6Dg3DGXY/zZUgQwKYqqceuwus12Rs6mwvxe9jTHg =
329
+ github.com/StackVista/datadog-agent-upstream-for-process-agent v0.0.0-20250320133125-5b2b83ced2c0 /go.mod h1:ouLSAUPgAZplxpo8ylN9sx9cXUjdsFnO3IT3QDq+ag0 =
330
330
github.com/StackVista/netlink v0.0.0-20231207101142-91d41874606b h1:9UZEx5+IBk26JfiMnUrNwE7J5bcC5zYtWwI4O8Q540I =
331
331
github.com/StackVista/netlink v0.0.0-20231207101142-91d41874606b /go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho =
332
332
github.com/StackVista/sketches-go v1.2.0-pre h1:04QAbYurRVq5LY6VK0KbFPUi4YhJcpEi5AansGdLdMw =
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ while [ $# -gt 0 ]; do
37
37
38
38
# Branch names that contains a slash are not valid in go.mod, so we need to use the commit hash
39
39
# See: https://github.com/golang/go/issues/32955
40
- COMMIT=$( git ls-remote https://github.com/StackVista/datadog-agent-upstream-for-process-agent.git " ${BRANCH} " | awk ' {print $1}' )
40
+ # We need the `tail -n 1` because in case of merge commits we could have 2 commit hashes in the output, just take the last one.
41
+ COMMIT=$( git ls-remote https://github.com/StackVista/datadog-agent-upstream-for-process-agent.git " ${BRANCH} " | tail -n 1 | awk ' {print $1}' )
41
42
if [ -z " ${COMMIT} " ]; then
42
43
echo " Error: commit not found for ${BRANCH} "
43
44
exit 1
You can’t perform that action at this time.
0 commit comments