Improve `make update` recipe

add-transactionCtx-method
Vinícius Garcia 2022-07-25 23:56:37 -03:00
parent bb14677c4c
commit 8fdd674c1b
1 changed files with 2 additions and 0 deletions

View File

@ -32,8 +32,10 @@ go-mod-tidy:
# Update adapters to use a new ksql tag
version=
update:
git tag $(version)
find adapters -name go.mod -execdir go get github.com/vingarcia/ksql@$(version) \;
for dir in $$(ls adapters); do git tag adapters/$$dir/$(version); done
git push origin $(version)
for dir in $$(ls adapters); do git push origin master adapters/$$dir/$(version); done
gen: mock