diff --git a/.travis.yml b/.travis.yml index fa1aa603..545c34b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ env: install: - pip install -r requirements.txt - sed -i "s/__VERSION__/${TRAVIS_TAG:-0.0.0}/g" setup.py + - sed -i "s/__VERSION__/${TRAVIS_TAG:-0.0.0}/g" scripts/qgis-plugin-ci - python setup.py install script: diff --git a/scripts/qgis-plugin-ci b/scripts/qgis-plugin-ci index 87325a37..7561112d 100755 --- a/scripts/qgis-plugin-ci +++ b/scripts/qgis-plugin-ci @@ -46,7 +46,7 @@ if __name__ == "__main__": # print the version and exit if args.version: - print('qgis-plugin-ci version: {}'.format('[DEV]')) + print('qgis-plugin-ci version: {}'.format('__VERSION__')) parser.exit() # if no command is passed, print the help and exit