Fix release-job.sh version var 25/16025/3
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Fri, 28 Jun 2019 01:17:24 +0000 (18:17 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Fri, 12 Jul 2019 17:43:57 +0000 (10:43 -0700)
commit4599be66bcc9eb8270ae1566ad28374d4c6ddd08
treef1b79a876624ccec058b69080a10da2185e083ae
parent977584d15011d128a65b9193523cc23133bf9068
Fix release-job.sh version var

Allow only semantic release versions like
"v${SEMVER}" or "${SEMVER}".
Fail the script if the version is not valid.
Do not append any additional characters to the
release version during tagging and pushing steps.

In this case, if the user wants to use the prefixed
"v", they can define it in the releases/*.yaml as:
version: 'v1.0.0'

Issue: RELENG-2131
Change-Id: I71f32600d3e17ec117776be6764c2e45ee934bdd
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
releasenotes/notes/fix_release_version_job-19f00b3c9b67c8c6.yaml [new file with mode: 0644]
shell/release-job.sh