☰
Debian Codegraph
@
3.5.1-2
3.5.1-1
3.4.1-1
/
/
.github
/
test-suite
/
determine_gosop_branch.sh
☽
☼
.github/test-suite/determine_gosop_branch.sh
code
plain
raw
Expat
2019 Proton Technologies AG
debian/copyright
1
VERSION=$(awk '/^module github.com\/ProtonMail\/gopenpgp\/v[0-9]+/ {print $NF}' gopenpgp/go.mod | awk -F'v' '{print $2}')
2
3
if [ "$VERSION" -eq 3 ]; then
4
echo "gosop-gopenpgp-v3"
5
else
6
echo "gosop-gopenpgp-v2"
7
fi