k3s/updatecli/scripts/run-go-mod-update.sh

11 lines
75 B
Bash
Executable File

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