diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-11-18 15:16:15 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-11-18 15:21:26 -0700 |
commit | b59465d1cc1775970e4efd18865a75b42ffc80c5 (patch) | |
tree | 99286c41f70898fc35ec84473af18553e14b1a01 | |
parent | 4434bd797842c3015c0e6132eaf2509fed370c26 (diff) | |
download | podman-b59465d1cc1775970e4efd18865a75b42ffc80c5.tar.gz podman-b59465d1cc1775970e4efd18865a75b42ffc80c5.tar.bz2 podman-b59465d1cc1775970e4efd18865a75b42ffc80c5.zip |
Fix sed regex to update version in version/version.go
Signed-off-by: Jhon Honce <jhonce@redhat.com>
-rwxr-xr-x | hack/release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/release.sh b/hack/release.sh index 56cd04079..e9eeaa73b 100755 --- a/hack/release.sh +++ b/hack/release.sh @@ -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() |