fix tagging
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -26,6 +26,11 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// update submodules
|
// update submodules
|
||||||
|
sh '''
|
||||||
|
git fetch --tags
|
||||||
|
latest_tag=$(git describe --tags --abbrev=0)
|
||||||
|
git checkout tags/$latest_tag
|
||||||
|
'''
|
||||||
sh 'git submodule update --init --recursive'
|
sh 'git submodule update --init --recursive'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user