CI: Update v2 branch CI to be on par with v3 (#286)
* ci: Update CI to be on par with v3 * ci: Update gosop branch for GopenPGP-v2
This commit is contained in:
parent
2a07a34fb8
commit
4e8fad59d6
9 changed files with 54 additions and 47 deletions
7
.github/test-suite/determine_gosop_branch.sh
vendored
Executable file
7
.github/test-suite/determine_gosop_branch.sh
vendored
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
VERSION=$(awk '/^module github.com\/ProtonMail\/gopenpgp\/v[0-9]+/ {print $NF}' gopenpgp/go.mod | awk -F'v' '{print $2}')
|
||||
|
||||
if [ "$VERSION" -eq 3 ]; then
|
||||
echo "gosop-gopenpgp-v3"
|
||||
else
|
||||
echo "gosop-gopenpgp-v2"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue