bugfix pipeline
Update void-packages template / Update xbps-src template (push) Successful in 1m49s Details

This commit is contained in:
Luca Bilke 2024-05-22 18:47:56 +02:00
parent 065e2b63e7
commit 39222eb23f
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
1 changed files with 4 additions and 4 deletions

View File

@ -8,13 +8,13 @@ jobs:
update-template:
name: Update xbps-src template
runs-on: ubuntu-latest
needs: release
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.FORGEJO_PUSH_TOKEN }}
repository: "https://git.snaile.de/snailed/void-packages"
repository: "snailed/void-packages"
ref: "master"
- name: Get checksum
id: checksum
@ -23,8 +23,8 @@ jobs:
- name: Replace checksum and version
run: |
sed -i 's/version=[0-9]\+\.[0-9]\+\.[0-9]\+/version=${{ github.ref }}/' srcpkgs/dwm-custom/template
sed -i 's/checksum=.\+/checksum=${{ steps.checksum.outputs.sha256 }}/' srcpkgs/dwm-custom/template
sed -i '/version=/ c version=${{ github.ref }}' srcpkgs/dwm-custom/template
sed -i '/checksum=/ c checksum=${{ steps.checksum.outputs.sha256 }}' srcpkgs/dwm-custom/template
- name: Commit
uses: https://github.com/stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4.16.0