mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-30 23:06:27 +00:00
packaging: Replace -
for ~
Replace non-valid character from kata version. This will make the version compatible with rpmbuild. Fixes: #179 Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
4cb3083cd4
commit
368f4792a9
@ -42,6 +42,9 @@ gen_version_file() {
|
||||
golang_version="1.10.2"
|
||||
golang_x84_64_sha256=$(curl -s -L "https://storage.googleapis.com/golang/go${golang_version}.linux-amd64.tar.gz.sha256")
|
||||
|
||||
# - is not a valid char for rpmbuild
|
||||
# see https://github.com/semver/semver/issues/145
|
||||
kata_version=${kata_version/-/\~}
|
||||
cat >versions.txt <<EOT
|
||||
|
||||
# This is a generated file from ${script_name}
|
||||
|
Loading…
Reference in New Issue
Block a user