Fix "make update" Makefile recipe

pull/32/head v1.5.0
Vinícius Garcia 2022-11-13 14:13:52 -03:00
parent af37427192
commit aca042b94b
1 changed files with 3 additions and 2 deletions

View File

@ -34,12 +34,13 @@ go-mod-tidy:
version=
update:
git tag $(version)
git push origin $(version)
git push origin master $(version)
find adapters -name go.mod -execdir go get github.com/vingarcia/ksql@$(version) \;
make go-mod-tidy
git commit -am 'Update adapters to use version $(version)'
git push origin master
for dir in $$(ls adapters); do git tag adapters/$$dir/$(version); done
for dir in $$(ls adapters); do git push origin master adapters/$$dir/$(version); done
for dir in $$(ls adapters); do git push origin adapters/$$dir/$(version); done
gen: mock
mock: setup