Skip to content

Commit

Permalink
Fix deploy Gradle command
Browse files Browse the repository at this point in the history
  • Loading branch information
valentjn committed May 31, 2020
1 parent a53947d commit 9753e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- "sudo apt-get -y install python3-pip"
- "pip3 install semver"
script:
- "./gradlew installTar"
- "./gradlew installDist distTar"
- "export LTEX_LS_VERSION=\"$(build/install/ltex-ls/bin/ltex-ls --version | awk '{print $NF}')\""
- "if [[ -z \"$LTEX_LS_VERSION\" ]]; then echo 'Error: LTEX_LS_VERSION not set!'; (exit 1); fi"
- "export IS_PRERELEASE=\"$(python3 -c \"import semver; print('1' if semver.VersionInfo.parse('$LTEX_LS_VERSION').prerelease is not None else '0', end='')\")\""
Expand Down

0 comments on commit 9753e7e

Please sign in to comment.