Skip to content

Commit

Permalink
fix: missed import_plugins.sh (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyuuttaaoo committed Apr 3, 2023
1 parent 3a72640 commit 6a2b381
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/plugin_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ elif [ $OS_FLAG = 2 ]; then
BUILDMODE=default
fi

# if not vendor mod, update plugin registry and go tidy
# otherwise you should have done it and go vendor
if [[ $MOD != "vendor" ]]; then
"$CURRDIR/import_plugins.sh" "$PLUGINS_CONFIG_FILE" "$GO_MOD_FILE"
fi

# rebuild gozstd's libzstd.a, because it is not compatible in some env
GOOS=$(go env GOOS)
GOARCH=$(go env GOARCH)
Expand Down

0 comments on commit 6a2b381

Please sign in to comment.