File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,17 @@ for DIR in providers examples; do
52
52
for GOMOD in $( find " ${DIR} " -name go.mod) ; do
53
53
B=$( dirname ${GOMOD} )
54
54
if [ " $( uname) " = " Darwin" ]; then
55
- stepi sed -i ' ' -E ' /github\.com\/multicluster-runtime\/multicluster-runtime/ s/([[:space:]]+)v[[:alnum:].-_+ ]+$/\1' " ${VERSION} " ' /' " ${B} /go.mod"
55
+ stepi sed -i ' ' -E ' /github\.com\/multicluster-runtime\/multicluster-runtime/ s/([[:space:]]+)v[[:alnum:]._+\- ]+$/\1' " ${VERSION} " ' /' " ${B} /go.mod"
56
56
else
57
- stepi sed -i -E ' /github\.com\/multicluster-runtime\/multicluster-runtime/ s/([[:space:]]+)v[[:alnum:].-_+ ]+$/\1' " ${VERSION} " ' /' " ${B} /go.mod"
57
+ stepi sed -i -E ' /github\.com\/multicluster-runtime\/multicluster-runtime/ s/([[:space:]]+)v[[:alnum:]._+\- ]+$/\1' " ${VERSION} " ' /' " ${B} /go.mod"
58
58
fi
59
59
step git diff " ${B} /go.mod"
60
60
echo
61
61
pushd ${B}
62
62
stepi go mod tidy
63
63
popd
64
64
stepi git add " ${B} /go.mod"
65
- stepi git commit -m " Update ${B} /go.mod to depend on ${VERSION} "
65
+ stepi git commit --allow-empty - m " Update ${B} /go.mod to depend on ${VERSION} "
66
66
stepi git tag -s -m " $V " " ${B} /${VERSION} "
67
67
stepi git push origin " ${B} /${VERSION} "
68
68
done
You can’t perform that action at this time.
0 commit comments