Commit 518a7b5e authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

CI: need to fetch master branch

parent d4a279c5
......@@ -37,8 +37,9 @@ check-version:
- fsl-ci
- docker
script:
- thisver=$( cat manifest_rules/__init__.py | grep __version__ | cut -d " " -f 3 | tr -d "'")
- masterver=$(git show master:manifest_rules/__init__.py | grep __version__ | cut -d " " -f 3 | tr -d "'")
- git fetch origin master
- thisver=$( cat manifest_rules/__init__.py | grep __version__ | cut -d " " -f 3 | tr -d "'")
- masterver=$(git show origin/master:manifest_rules/__init__.py | grep __version__ | cut -d " " -f 3 | tr -d "'")
- |
if [ "$thisver" = "$masterver" ]; then
echo "Version has not been updated!"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment