mirror of https://github.com/VinGarcia/ksql.git
Improve `make update` recipe
parent
bb14677c4c
commit
8fdd674c1b
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue