prehook: fix enterprise repo remote value

This commit is contained in:
Mahmood Ali
2020-02-03 11:29:05 -05:00
parent c0f42dca76
commit 896ddf5629

View File

@@ -7,8 +7,8 @@ fail () {
# only push to oss when the enterprise version is absent
# ====================
oss="git@github.com:/hashicorp/nomad"
ent="git@github.com:/hashicorp/nomad-enterprise"
oss="git@github.com:hashicorp/nomad.git"
ent="git@github.com:hashicorp/nomad-enterprise.git"
if [ "$2" != "$ent" -a -f version/version_ent.go ]; then
fail "found enterprise version file version/version_ent.go while pushing to oss remote"
fi