From 8822630f46a4a464fe90f218745e6518370d2191 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 12 Jun 2020 16:14:50 -0400 Subject: [PATCH] Fix bad sed commands --- deployment/build.centos | 2 +- deployment/build.fedora | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/build.centos b/deployment/build.centos index 0bf0323ce..35b81b520 100755 --- a/deployment/build.centos +++ b/deployment/build.centos @@ -13,7 +13,7 @@ if [[ ${GIT_BRANCH} == 'refs/heads/package' ]]; then pushd fedora/ # get the last PR ID PR_ID=$( git log --grep 'Merge pull request' --oneline --single-worktree --first-parent | head -1 | grep --color=none -Eo '#[0-9]+' | tr -d '#' ) - sed -i "/Version:.*/Version: ${BUILD_ID}" + sed -i "s/Version:.*/Version: ${BUILD_ID}/" jellyfin-web.spec sed -i "/%changelog/q" jellyfin-web.spec cat <>jellyfin-web.spec * $( LANG=C date '+%a %b %d %Y' ) Jellyfin Packaging Team diff --git a/deployment/build.fedora b/deployment/build.fedora index 9ffb5d534..620ceaf12 100755 --- a/deployment/build.fedora +++ b/deployment/build.fedora @@ -13,7 +13,7 @@ if [[ ${GIT_BRANCH} == 'refs/heads/package' ]]; then pushd fedora/ # get the last PR ID PR_ID=$( git log --grep 'Merge pull request' --oneline --single-worktree --first-parent | head -1 | grep --color=none -Eo '#[0-9]+' | tr -d '#' ) - sed -i "/Version:.*/Version: ${BUILD_ID}" + sed -i "s/Version:.*/Version: ${BUILD_ID}/" jellyfin-web.spec sed -i "/%changelog/q" jellyfin-web.spec cat <>jellyfin-web.spec * $( LANG=C date '+%a %b %d %Y' ) Jellyfin Packaging Team