diff --git a/.gitea/workflows/workflows.yaml b/.gitea/workflows/workflows.yaml index 0260f3a..f410819 100644 --- a/.gitea/workflows/workflows.yaml +++ b/.gitea/workflows/workflows.yaml @@ -64,10 +64,4 @@ jobs: run: | #I used the package to upload the package chmod +x GiteaPublish/src/output/GiteaPublish - GiteaPublish/src/output/GiteaPublish package arch publish --username ${{ secrets.USERNAME }} --password ${{ secrets.PASSWORD }} -b https://git.stillkill.net -o Stillkill -r GiteaPublish -f "GiteaPublish/${{ steps.package_info.outputs.package_file }}" - - - name: Display package info - run: | - echo "Built package version: ${{ steps.get_version.outputs.version }}" - echo "Package file: ${{ steps.package_info.outputs.package_file }}" - + GiteaPublish/src/output/GiteaPublish package arch publish --username ${{ secrets.USERNAME }} --password ${{ secrets.PASSWORD }} -b https://git.stillkill.net -o Stillkill -r GiteaPublish -f "GiteaPublish/${{ steps.package_info.outputs.package_file }}" \ No newline at end of file diff --git a/GiteaPublish/PKGBUILD b/GiteaPublish/PKGBUILD index d1a41ed..8cebf30 100644 --- a/GiteaPublish/PKGBUILD +++ b/GiteaPublish/PKGBUILD @@ -26,7 +26,8 @@ dotnet publish -c Release -r linux-x64 --self-contained \ } package() { -cd "$srcdir/output" -pwd -install -Dm755 "GiteaPublish" "$pkgdir/usr/bin/gitea-publish" -} + cd "$srcdir/output" + mkdir -p "$pkgdir/usr/bin" + cp -a "GiteaPublish" "$pkgdir/usr/bin/gitea-publish" + chmod 755 "$pkgdir/usr/bin/gitea-publish" +} \ No newline at end of file