mirror of
				https://github.com/redhat-developer/odo.git
				synced 2025-10-19 03:06:19 +03:00 
			
		
		
		
	'v' was added to version number
This commit is contained in:
		| @@ -15,7 +15,7 @@ if [[ -n $TRAVIS_TAG ]]; then | ||||
|     echo "Checking if ocdev version was set to the same version as current tag" | ||||
|     # use sed to get only semver part | ||||
|     bin_version=$(${BIN_DIR}/linux-amd64/ocdev version | sed 's/ .*//g') | ||||
|     if [ "$TRAVIS_TAG" == "v${bin_version}" ]; then | ||||
|     if [ "$TRAVIS_TAG" == "${bin_version}" ]; then | ||||
|         echo "OK: ocdev version output is matching current tag" | ||||
|     else | ||||
|         echo "ERR: TRAVIS_TAG ($TRAVIS_TAG) is not matching 'ocdev version' (v${bin_version})" | ||||
|   | ||||
| @@ -12,7 +12,7 @@ if [[ -n $TRAVIS_TAG ]]; then | ||||
|     echo "Checking if ocdev version was set to the same version as current tag" | ||||
|     # use sed to get only semver part | ||||
|     bin_version=$(${BIN_DIR}/linux-amd64/ocdev version | sed 's/ .*//g') | ||||
|     if [ "$TRAVIS_TAG" == "v${bin_version}" ]; then | ||||
|     if [ "$TRAVIS_TAG" == "${bin_version}" ]; then | ||||
|         echo "OK: ocdev version output is matching current tag" | ||||
|     else | ||||
|         echo "ERR: TRAVIS_TAG ($TRAVIS_TAG) is not matching 'ocdev version' (v${bin_version})" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tomas Kral
					Tomas Kral