Adding upstream version 0.31.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
091495b2f3
commit
5d4914ed7f
61 changed files with 30627 additions and 0 deletions
16
.github/scripts/check-release.sh
vendored
Normal file
16
.github/scripts/check-release.sh
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue