2017-09-04 23:16:11 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
remote="$1"
|
|
|
|
|
2017-09-04 23:20:39 +00:00
|
|
|
if [ "$remote" = "enterprise" ]; then
|
2017-09-04 23:16:11 +00:00
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2018-09-18 03:03:00 +00:00
|
|
|
if [ "$remote" = "ent" ]; then
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2017-09-04 23:16:11 +00:00
|
|
|
if [ -f version/version_ent.go ]; then
|
|
|
|
echo "Found enterprise version file while pushing to oss remote"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|