Skip to content
Snippets Groups Projects
Commit d5449439 authored by yvesn's avatar yvesn
Browse files

ignoring pybis tags in openBIS build

parent 40df26be
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ def calculateBuildInfo() {
} else if (isGitProject()) {
def gitlogoutput = execute_working_dir('git', ['log', '-1', '--format=%at'], '../' + project.name)
project.ext.revisionNumber = Integer.parseInt(gitlogoutput[0])
def tag = 'git describe --tags'.execute().text.trim()
def tag = 'git describe --tags --exclude "pybis*"'.execute().text.trim()
if (tag == null || tag.isEmpty()) {
project.ext.versionNumber = 'SNAPSHOT'
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment