summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7f12624..e0c7f5f 100644
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,12 @@ build_all_providers:
# packaging templates
#########################################################################
-prepare: prepare_templates gen_pkg_win gen_pkg_osx gen_pkg_snap gen_pkg_deb prepare_done
+prepare: re_vendor prepare_templates gen_pkg_win gen_pkg_osx gen_pkg_snap gen_pkg_deb prepare_done
+
+re_vendor:
+ # we update the module vendoring in case we're building with a different
+ # go version than in development
+ @go mod vendor
prepare_templates: generate relink_default tgz
@mkdir -p build/${PROVIDER}/bin/ deploy