diff --git a/tools/bin/goreleaser_utils b/tools/bin/goreleaser_utils index 65db3168537..16413af8c36 100755 --- a/tools/bin/goreleaser_utils +++ b/tools/bin/goreleaser_utils @@ -6,9 +6,6 @@ set -xe before_hook() { local -r lib_path=tmp - echo $(ls) - echo $(ls ..) - mkdir -p "$lib_path/libs" # Copy over all platform versions of the wasmvm library cp -f "$(go list -json -m github.com/CosmWasm/wasmvm | jq -r '.Dir')"/internal/api/libwasmvm.* "$lib_path/libs" @@ -74,7 +71,16 @@ get_remote_plugin_paths() { done } +build_standard_capabilities() { + ls ../.. + cd ../capabilities/cron + # go install "${ldflags[@]}" . + # cd ../chainlink +} + install_remote_plugins() { + build_standard_capabilities + ldflags=(-ldflags "$(./tools/bin/ldflags)") for plugin in $(get_remote_plugin_paths); do diff --git a/tools/goreleaser-config/gen_config.go b/tools/goreleaser-config/gen_config.go index dd997a35938..de0a4ef0c3c 100644 --- a/tools/goreleaser-config/gen_config.go +++ b/tools/goreleaser-config/gen_config.go @@ -25,7 +25,7 @@ func Generate(environment string) config.Project { Cmd: "go mod tidy", }, { - Cmd: "./tools/bin/goreleaser_utils before_hook", // modify this to include capabilities + Cmd: "./tools/bin/goreleaser_utils before_hook", }, }, },