# Test that cue mod publish fails when there is
# a VCS source specified but no VCS directory
# can be found.

! exec cue mod publish v1.0.0
stderr 'git VCS not found in any parent of ".+"'
-- cue.mod/module.cue --
module: "x.example@v1"
language: version: "v0.9.0-alpha.1"

source: kind: "git"
