Commit f2b50474 authored by Guido Gunther's avatar Guido Gunther
Browse files

blesse-builds: Build the tag we're seeing

Instead of trying to guess the right tag just use what
jenkins gives us right away.
parent 8595e857
......@@ -83,19 +83,17 @@ pkgs.each { pkg ->
scm_tag_cmd = """commit="\$(git for-each-ref --sort=taggerdate --format '%(objectname)' refs/tags | tail -n 1)"; head_tag="\$(git describe --exact-match --tags \${commit})" 2> /dev/null || exit 128""".stripIndent()
scm_verify_tag_cmd = """git tag -v "\${head_tag}" || exit 64""".stripIndent()
scm_checkout_cmd = """cd build
git clean -dfx
git checkout -f "\${head_tag}"
build_cmd = """
rm -f *.deb *.changes *.dsc *.upload *.tar.* *.buildinfo *.build
head_tag=\$(git describe HEAD)
# changelog distribution needs to be byzantium or landing
Markdown is supported
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