From 65b8f1f549579f0db12b48ea4dcf9187b1945881 Mon Sep 17 00:00:00 2001 From: Ludovic <54670129+lbr38@users.noreply.github.com> Date: Thu, 5 Sep 2024 21:30:48 +0200 Subject: [PATCH] 3.1.5 --- .github/workflows/release.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6030e7..ad1d3d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -137,13 +137,13 @@ jobs: run: | cd $HOME/rpmbuild/SPECS rpmbuild --target noarch -bb --quiet linupdate.spec - mv $HOME/rpmbuild/RPMS/noarch/linupdate-${{ env.VERSION }}-stable.noarch.rpm /tmp/linupdate-${{ env.VERSION }}.noarch.rpm + mv $HOME/rpmbuild/RPMS/noarch/linupdate-${{ env.VERSION }}-stable.noarch.rpm /tmp/~/assets/linupdate-${{ env.VERSION }}.noarch.rpm - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: linupdate-${{ env.VERSION }}.noarch.rpm - path: /tmp/linupdate-${{ env.VERSION }}.noarch.rpm + name: ~/assets/linupdate-${{ env.VERSION }}.noarch.rpm + path: /tmp/~/assets/linupdate-${{ env.VERSION }}.noarch.rpm retention-days: 3 release: @@ -170,7 +170,7 @@ jobs: - name: Download rpm artifact uses: actions/download-artifact@v4 with: - name: linupdate-${{ env.VERSION }}.noarch.rpm + name: ~/assets/linupdate-${{ env.VERSION }}.noarch.rpm path: ~/assets # Create a new release @@ -200,14 +200,14 @@ jobs: # assets_path: ~/assets # Upload package to repository - - name: Upload to repositories + - name: Upload packages to repositories run: | - curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F "files=@~/assets/linupdate_${{ env.VERSION }}_all.deb" https://packages.bespin.ovh/api/v2/snapshot/64/upload - curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F "files=@~/assets/linupdate_${{ env.VERSION }}_all.deb" https://packages.bespin.ovh/api/v2/snapshot/66/upload - curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F "files=@~/assets/linupdate_${{ env.VERSION }}_all.deb" https://packages.bespin.ovh/api/v2/snapshot/68/upload - curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F "files=@~/assets/linupdate_${{ env.VERSION }}_all.deb" https://packages.bespin.ovh/api/v2/snapshot/73/upload - curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F "files=@~/assets/linupdate-${{ env.VERSION }}.noarch.rpm" https://packages.bespin.ovh/api/v2/snapshot/70/upload - curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F "files=@~/assets/linupdate-${{ env.VERSION }}.noarch.rpm" https://packages.bespin.ovh/api/v2/snapshot/71/upload + curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F files=@~/assets/linupdate_${{ env.VERSION }}_all.deb https://packages.bespin.ovh/api/v2/snapshot/64/upload + curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F files=@~/assets/linupdate_${{ env.VERSION }}_all.deb https://packages.bespin.ovh/api/v2/snapshot/66/upload + curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F files=@~/assets/linupdate_${{ env.VERSION }}_all.deb https://packages.bespin.ovh/api/v2/snapshot/68/upload + curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F files=@~/assets/linupdate_${{ env.VERSION }}_all.deb https://packages.bespin.ovh/api/v2/snapshot/73/upload + curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F files=@~/assets/linupdate-${{ env.VERSION }}.noarch.rpm https://packages.bespin.ovh/api/v2/snapshot/70/upload + curl --fail-with-body -L --post301 -s -q -X POST -H "Authorization: Bearer ${{ secrets.REPOSITORY_TOKEN }}" -F files=@~/assets/linupdate-${{ env.VERSION }}.noarch.rpm https://packages.bespin.ovh/api/v2/snapshot/71/upload # Rebuild repositories metadata - name: Rebuild repositories