Skip to content

Commit

Permalink
fix version printing
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jul 22, 2019
1 parent 673c490 commit f4561ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion scripts/qgis-plugin-ci
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4561ca

Please sign in to comment.