From 0ba3bb95ff1f7a71600eb3606df374bd5c063a33 Mon Sep 17 00:00:00 2001 From: ju5t Date: Sat, 26 Aug 2023 17:07:41 +0200 Subject: [PATCH] chore: use different sed command --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3cd5c8e..65d2cb2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ jobs: - name: Permissions run: chmod 777 -R . - name: Version - run: sed -i 's/##version##/${GITHUB_REF_NAME/v/}/g' rpmbuild/SPECS/acronis-mysql-scripts.spec + run: sed -i "s/##version##/${GITHUB_REF_NAME#v}/g" rpmbuild/SPECS/acronis-mysql-scripts.spec - name: Build run: docker run -v ${{ github.workspace }}:/srv -e RELEASE= sensson/rpmbuild:rockylinux-8 - name: Dependencies