1
0
Fork 0

Adding upstream version 0.31.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-18 21:42:39 +02:00
parent 091495b2f3
commit 5d4914ed7f
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
61 changed files with 30627 additions and 0 deletions

16
.github/scripts/check-release.sh vendored Normal file
View file

@ -0,0 +1,16 @@
#!/bin/sh
# Checking if current tag matches the package version
current_tag=$(echo $GITHUB_REF | cut -d '/' -f 3 | sed -r 's/^v//')
file1='version.go'
file_tag1=$(grep 'const VERSION' -A 0 $file1 | cut -d '=' -f2 | tr -d '"' | tr -d ' ')
if [ "$current_tag" != "$file_tag1" ]; then
echo "Error: the current tag does not match the version in package file(s)."
echo "$file1: found $file_tag1 - expected $current_tag"
exit 1
fi
echo 'OK'
exit 0