reset revision in void-packages

This commit is contained in:
Luca Bilke 2024-05-23 14:10:12 +02:00
parent 17ddfe5f8e
commit 47e1bf3816
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Update void-packages template name: Update void-packages template
on: on:
@ -25,6 +26,7 @@ jobs:
wget https://git.snaile.de/snailed/dwm-custom/archive/${{ github.ref_name }}.tar.gz wget https://git.snaile.de/snailed/dwm-custom/archive/${{ github.ref_name }}.tar.gz
sha256sum="$(sha256sum ${{ github.ref_name }}.tar.gz | cut -d ' ' -f 1)" sha256sum="$(sha256sum ${{ github.ref_name }}.tar.gz | cut -d ' ' -f 1)"
sed -i "/checksum=/ c checksum=${sha256sum}" srcpkgs/dwm-custom/template sed -i "/checksum=/ c checksum=${sha256sum}" srcpkgs/dwm-custom/template
sed -i "/revision=/ c revision=1" srcpkgs/dwm-custom/template
- name: Commit - name: Commit
uses: https://github.com/stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4.16.0 uses: https://github.com/stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4.16.0