Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenIceage authored Jul 22, 2024
1 parent ad61451 commit ce00986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}"
Expand Down

0 comments on commit ce00986

Please sign in to comment.