We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
bosh-release
1 parent 3ba4bd3 commit 89a756bCopy full SHA for 89a756b
Makefile
@@ -300,8 +300,11 @@ spec-test:
300
bundle exec rspec
301
302
.PHONY: bosh-release
303
-bosh-release: go-mod-tidy go-mod-vendor scheduler db build/autoscaler-test.tgz
304
-build/autoscaler-test.tgz:
+bosh-release: build/autoscaler-test.tgz
+# 🚸 In the next line, the order of the dependencies is important. Generated code needs to be
305
+# already there for `go-mod-tidy` to work. See additional comment for that target in
306
+# ./src/autoscaler/Makefile.
307
+build/autoscaler-test.tgz: build_all go-mod-tidy go-mod-vendor
308
@echo " - building bosh release into build/autoscaler-test.tgz"
309
@mkdir -p build
310
@bosh create-release --force --timestamp-version --tarball=build/autoscaler-test.tgz
0 commit comments