Skip to content

Commit d1d63b2

Browse files
committed
fix: update scoop manifest URL handling and add labels to homebrew pull request
1 parent e494418 commit d1d63b2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
run: |
106106
cd scoop-bucket
107107
sed -i 's/"version": ".*"/"version": "${{ steps.version.outputs.version }}"/' bucket/komorebi-switcher.json
108-
sed -i 's|"url": ".*"|"url": "https://github.com/amrbashir/komorebi-switcher/releases/download/v${{ steps.version.outputs.version }}/komorebi-switcher.exe"|' bucket/komorebi-switcher.json
108+
sed -i '/"64bit"/,/"hash"/ s|"url": "https://github.com/amrbashir/komorebi-switcher/releases/download/v[^"]*"|"url": "https://github.com/amrbashir/komorebi-switcher/releases/download/v${{ steps.version.outputs.version }}/komorebi-switcher.exe"|' bucket/komorebi-switcher.json
109109
sed -i 's/"hash": ".*"/"hash": "${{ steps.scoop-sha256.outputs.hash }}"/' bucket/komorebi-switcher.json
110110
111111
- name: create scoop pull request
@@ -149,6 +149,7 @@ jobs:
149149
token: ${{ secrets.HOMEBREW_TAP_PAT }}
150150
path: homebrew-tap
151151
commit-message: "komorebi-switcher: Update to ${{ steps.version.outputs.version }}"
152+
labels: pr-pull
152153
branch: update-komorebi-switcher-${{ steps.version.outputs.version }}
153154
title: "komorebi-switcher: Update to ${{ steps.version.outputs.version }}"
154155
body: |

0 commit comments

Comments
 (0)