mirror of
https://github.com/rancher/cli.git
synced 2026-02-06 21:48:05 +01:00
* backport of #362 * avoid recursive find and inclusion of sha256sum.txt file in shasum * added contents write permission to publish assets in release * added comment
15 lines
225 B
Bash
Executable File
15 lines
225 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
echo Tidying up modules
|
|
go mod tidy
|
|
|
|
echo Verifying modules
|
|
go mod verify
|
|
|
|
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
|
|
echo "Encountered dirty repo!"
|
|
exit 1
|
|
fi |