We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d4ea13 commit aa4d06dCopy full SHA for aa4d06d
.travis.yml
@@ -19,6 +19,14 @@ script:
19
- bash <(curl -s https://codecov.io/bash)
20
21
before_deploy:
22
+ - >
23
+ if [ ! -z ${TRAVIS_TAG} ]; then
24
+ version="$(grep -E '^const version' cmd/sops/version.go | cut -d '"' -f 2)"
25
+ if [ ${TRAVIS_TAG} != ${version} ]; then
26
+ echo "git tag ${TRAVIS_TAG} does not map sops version ${version}"
27
+ exit 1
28
+ fi
29
30
- mkdir dist
31
- make deb-pkg rpm-pkg
32
- mv *.deb *.rpm dist/
0 commit comments