Skip to content

Commit e6f9ab7

Browse files
authored
Fix task naming to avoid conflicts (#1122)
1 parent 6fa0170 commit e6f9ab7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/publish-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
tag: ${{github.ref_name}}
3232
fileName: "*.snap"
3333
- name: Publish to Snapcraft
34-
run: "task artifacts:publish:snap:${{ github.ref_name }}"
34+
run: "task artifacts:snap:publish:${{ github.ref_name }}"
3535
env:
3636
SNAPCRAFT_STORE_CREDENTIALS: "${{secrets.SNAPCRAFT_LOGIN_CREDS}}"
3737
bump-winget:
@@ -44,8 +44,8 @@ jobs:
4444
with:
4545
version: 3.x
4646
repo-token: ${{ secrets.GITHUB_TOKEN }}
47-
- name: Submit Winget version bump
48-
run: "task artifacts:publish:winget:${{ github.ref_name }}"
47+
- name: Submit WinGet version bump
48+
run: "task artifacts:winget:publish:${{ github.ref_name }}"
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.WINGET_BUMP_PAT }}
5151
shell: pwsh

Taskfile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ tasks:
230230
echo "https://$SUFFIX"
231231
fi
232232
done
233-
artifacts:publish:snap:*:
233+
artifacts:snap:publish:*:
234234
desc: Publishes the specified artifacts version to Snapcraft.
235235
vars:
236236
UP_VERSION: '{{ replace "v" "" (index .MATCH 0)}}'
@@ -239,7 +239,7 @@ tasks:
239239
snapcraft upload --release={{.CHANNEL}} waveterm_{{.UP_VERSION}}_arm64.snap
240240
snapcraft upload --release={{.CHANNEL}} waveterm_{{.UP_VERSION}}_amd64.snap
241241
242-
artifacts:publish:winget:*:
242+
artifacts:winget:publish:*:
243243
desc: Submits a version bump request to WinGet for the latest release.
244244
status:
245245
- exit {{if contains UP_VERSION "beta"}}0{{else}}1{{end}}

0 commit comments

Comments
 (0)