mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
chore: prepare 2.6.1 release
This commit is contained in:
7 files changed
+66
-42
No files matched your search
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
tag="${1:-}"
|
||||
|
||||
if [[ -z "$tag" ]]; then
|
||||
echo "Usage: $0 <tag>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
version="${tag#v}"
|
||||
|
||||
awk -v version="$version" '
|
||||
$0 == "## " version {
|
||||
found = 1
|
||||
next
|
||||
}
|
||||
found && /^## / {
|
||||
exit
|
||||
}
|
||||
found {
|
||||
print
|
||||
}
|
||||
END {
|
||||
if (!found) {
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
' changelog.md
|
||||
Reference in new issue
Block a user