mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-15 03:24:30 +01:00
Merge pull request #180 from jcvenegas/semver-replace
packaging: Replace `-` for `~`
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user