k3s/updatecli/scripts/run-go-mod-update.sh
Guilherme Macedo 8f28de259c
Add initial Updatecli ADR automation (#6583)
* Add initial Updatecli ADR automation

Signed-off-by: Guilherme Macedo <guilherme.macedo@suse.com>
2023-01-03 12:56:08 -05:00

11 lines
75 B
Bash
Executable File

#!/bin/bash
set -eux
go get "${1}" >&2
go mod tidy >&2
git diff
exit 0