From 76e7010eb0a7b18cc0e20ba8d79428e64b63adb4 Mon Sep 17 00:00:00 2001 From: antheas Date: Sat, 6 Apr 2024 10:25:41 +0200 Subject: [PATCH] tweak sed more --- .github/workflows/package-publish.yml | 2 +- .github/workflows/publish-nobara.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package-publish.yml b/.github/workflows/package-publish.yml index ee18e5f..d84aa20 100644 --- a/.github/workflows/package-publish.yml +++ b/.github/workflows/package-publish.yml @@ -93,7 +93,7 @@ jobs: run: sed "s/REPLACE_VERSION/$(cat pyproject.toml | grep -E 'version = "[0-9\.]+"' -o | grep -E "[0-9\.]+" -o)/" adjustor.spec > ./pkg/adjustor.spec - name: Rename to Nobara ver run: >- - sed "s/Name: adjustor/Name: hhd-adjustor/" ./pkg/adjustor.spec > ./pkg/adjustor.spec + sed -i "s/Name: adjustor/Name: hhd-adjustor/" ./pkg/adjustor.spec - name: Publish to COPR repo uses: s0/git-publish-subdir-action@develop env: diff --git a/.github/workflows/publish-nobara.yml b/.github/workflows/publish-nobara.yml index a8fb8c7..0a3e472 100644 --- a/.github/workflows/publish-nobara.yml +++ b/.github/workflows/publish-nobara.yml @@ -19,7 +19,7 @@ jobs: run: sed "s/REPLACE_VERSION/$(cat pyproject.toml | grep -E 'version = "[0-9\.]+"' -o | grep -E "[0-9\.]+" -o)/" adjustor.spec > ./pkg/adjustor.spec - name: Rename to Nobara ver run: >- - sed "s/Name: adjustor/Name: hhd-adjustor/" ./pkg/adjustor.spec > ./pkg/adjustor.spec + sed -i "s/Name: adjustor/Name: hhd-adjustor/" ./pkg/adjustor.spec - name: Publish to COPR repo uses: s0/git-publish-subdir-action@develop env: