1
0
mirror of https://github.com/rancher/steve.git synced 2025-04-30 20:23:51 +00:00
steve/scripts/validate.sh
Eric Promislow 1ef399e5bf
Manually bump helm v3.16.4 (#605)
* Bump the version

* Fix the validate script.

* Need to bump opentelemetry as well.
2025-04-29 16:52:35 -07:00

15 lines
238 B
Bash

#!/bin/bash
set -e
go generate ./...
golangci-lint run
go mod tidy
go mod verify
unclean=$(git status --porcelain --untracked-files=no)
if [ -n "$unclean" ]; then
echo "Encountered dirty repo!"
git diff
echo "$unclean"
exit 1
fi