1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00
go-micro/plugins/release.sh
2020-12-26 15:32:45 +00:00

13 lines
213 B
Bash
Executable File

#!/bin/bash
tag=$1
if [ "x$tag" = "x" ]; then
echo "must specify tag to release"
exit 1;
fi
for m in $(find * -name 'go.mod' -exec dirname {} \;); do
hub release create -m "$m/$tag release" $m/$tag;
done