summaryrefslogtreecommitdiff
path: root/scripts/check-go-modules.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check-go-modules.sh')
-rwxr-xr-xscripts/check-go-modules.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/check-go-modules.sh b/scripts/check-go-modules.sh
deleted file mode 100755
index fa4b21c..0000000
--- a/scripts/check-go-modules.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-go get -u gitlab.com/yawning/obfs4.git &> /dev/null
-git --no-pager diff -U0 go.mod | grep -Fq "gitlab.com/yawning/obfs4.git"
-
-case "$?" in
- "0")
- echo "New version of upstream yawning/obfs4 available!!"
- exit 2
- ;;
- *)
- exit 0
- ;;
-esac
-