Compare commits
1 Commits
update-git
...
update-git
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b782c5e6e5 |
@@ -5,12 +5,7 @@ set -euo pipefail
|
|||||||
# e.g. go list -m -f '{{.GoVersion}}'
|
# e.g. go list -m -f '{{.GoVersion}}'
|
||||||
|
|
||||||
module_path="github.com/pulumi/pulumi/pkg/v3"
|
module_path="github.com/pulumi/pulumi/pkg/v3"
|
||||||
go_mod_path="."
|
gomod="./go.mod"
|
||||||
gomod="go.mod"
|
|
||||||
|
|
||||||
if [[ "$go_mod_path" != "" && "$go_mod_path" != "." ]]; then
|
|
||||||
gomod="$go_mod_path/$gomod"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ! -f "$gomod" ]]; then
|
if [[ ! -f "$gomod" ]]; then
|
||||||
echo "missing $gomod" >&2
|
echo "missing $gomod" >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user