File: travis_ci_after_build_checks.sh

package info (click to toggle)
ddccontrol-db 20230223-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,640 kB
  • sloc: xml: 4,830; sh: 119; makefile: 32; sed: 16; perl: 12
file content (10 lines) | stat: -rwxr-xr-x 251 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

if [[ "$(git status -s)" == "" ]];
then
    echo -e "\033[1;32mGOOD:\033[0;32m git files are unchanged after build.\033[0m"
else
    echo -e "\033[1;31mERROR:\033[0;31m git files have changed.\033[0m"
    git status
    exit 1
fi