You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A long-standing issue with sbt-dynver and publishing on Travis CI is that when you create a commit (e.g. bump the version number in the README) and a tag, and push both, then Travis CI will kick-off two builds and one will fail (race condition to Bintray, for example).
Found this code to avoid it:
if [ -z"$TRAVIS_TAG" ];then
TRAVIS_TAG=$( git -C "$TRAVIS_BUILD_DIR" tag --points-at )if [ -n"$TRAVIS_TAG" ];thenecho"Found future tag \"${TRAVIS_TAG}\", skipping."exit 0
fifi
The text was updated successfully, but these errors were encountered:
A long-standing issue with sbt-dynver and publishing on Travis CI is that when you create a commit (e.g. bump the version number in the README) and a tag, and push both, then Travis CI will kick-off two builds and one will fail (race condition to Bintray, for example).
Found this code to avoid it:
The text was updated successfully, but these errors were encountered: