diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1cd3ff..db92267 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,7 @@ jobs: env: OBS_API: https://api.opensuse.org/ PROJECT: home:ChHuang + PACKAGE: python-osc-tiny steps: - name: Install osc run: | @@ -27,9 +28,9 @@ jobs: EOF - name: checkout package run: | - osc branch $PROJECT $PACKAGE - cd $PACKAGE - rm $PACKAGE*.tar.gz + osc branchco $PROJECT $PACKAGE + cd $PROJECT:branches:$PROJECT/$PACKAGE + rm *.tar.gz - name: Fetch tarball from PyPI id: fetch-tarball