package: fix broken version not shown in bin package file name

This commit is contained in:
jean-emmanuel 2017-10-07 10:46:55 +02:00
parent 3dab63fd78
commit d5737ed00d

View file

@ -19,7 +19,7 @@ deploy:
on:
tags: true
before_deploy:
- export VERSION=$(cat package.json | grep version | sed -e 's/"$//g' | sed -e 's/.*"//g')
- export VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
- npm run build
- npm run deb32
- npm run deb64