From ce0098627be4e880d5d8702f2fa4f0b27beca345 Mon Sep 17 00:00:00 2001 From: frozenIceage Date: Mon, 22 Jul 2024 10:39:56 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1360fe6..c8910ca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,7 +33,7 @@ jobs: run: osc branchco $PROJECT python-$PACKAGE - name: Fetch tarball from PyPI run: | - cd $PROJECT:branches:$PROJECT/python-$PACKAGE + cd home:*:branches:devel:languages:python/python-$PACKAGE osc rm *.tar.gz FILE_NAME=osc_tiny-${{ env.LATEST_TAG }}.tar.gz FILE_URL=https://files.pythonhosted.org/packages/source/o/osc-tiny/$FILE_NAME @@ -48,7 +48,7 @@ jobs: osc add $FILE_NAME - name: Update spec and changes files run: | - cd $PROJECT:branches:$PROJECT/python-$PACKAGE + cd home:*:branches:devel:languages:python/python-$PACKAGE sed -i "s/^Version:.*/Version: ${{ env.LATEST_TAG }}/" *.spec sed -i "s/%setup -q -n osc-tiny-%{version}/%setup -q -n osc_tiny-%{version}/" *.spec osc vc -m "Update to version ${{ env.LATEST_TAG }}"