mirror of https://github.com/containers/podman.git
Fix sed regex to update version in version/version.go
Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
parent
4434bd7978
commit
b59465d1cc
|
@ -27,7 +27,7 @@ LAST_TAG=$(git describe --tags --abbrev=0)
|
|||
write_go_version()
|
||||
{
|
||||
LOCAL_VERSION="$1"
|
||||
sed -i "s/^\(var Version = semver.MustParse\( \"\).*/\1${LOCAL_VERSION}\"\)/" version/version.go
|
||||
sed -i "s/^\(var Version = semver.MustParse( *\"\).*/\1${LOCAL_VERSION}\")/" version/version.go
|
||||
}
|
||||
|
||||
write_spec_version()
|
||||
|
|
Loading…
Reference in New Issue