mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
Fix task naming to avoid conflicts (#1122)
This commit is contained in:
parent
6fa0170ebe
commit
e6f9ab7336
6
.github/workflows/publish-release.yml
vendored
6
.github/workflows/publish-release.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
tag: ${{github.ref_name}}
|
tag: ${{github.ref_name}}
|
||||||
fileName: "*.snap"
|
fileName: "*.snap"
|
||||||
- name: Publish to Snapcraft
|
- name: Publish to Snapcraft
|
||||||
run: "task artifacts:publish:snap:${{ github.ref_name }}"
|
run: "task artifacts:snap:publish:${{ github.ref_name }}"
|
||||||
env:
|
env:
|
||||||
SNAPCRAFT_STORE_CREDENTIALS: "${{secrets.SNAPCRAFT_LOGIN_CREDS}}"
|
SNAPCRAFT_STORE_CREDENTIALS: "${{secrets.SNAPCRAFT_LOGIN_CREDS}}"
|
||||||
bump-winget:
|
bump-winget:
|
||||||
@ -44,8 +44,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: 3.x
|
version: 3.x
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Submit Winget version bump
|
- name: Submit WinGet version bump
|
||||||
run: "task artifacts:publish:winget:${{ github.ref_name }}"
|
run: "task artifacts:winget:publish:${{ github.ref_name }}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.WINGET_BUMP_PAT }}
|
GITHUB_TOKEN: ${{ secrets.WINGET_BUMP_PAT }}
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
@ -230,7 +230,7 @@ tasks:
|
|||||||
echo "https://$SUFFIX"
|
echo "https://$SUFFIX"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
artifacts:publish:snap:*:
|
artifacts:snap:publish:*:
|
||||||
desc: Publishes the specified artifacts version to Snapcraft.
|
desc: Publishes the specified artifacts version to Snapcraft.
|
||||||
vars:
|
vars:
|
||||||
UP_VERSION: '{{ replace "v" "" (index .MATCH 0)}}'
|
UP_VERSION: '{{ replace "v" "" (index .MATCH 0)}}'
|
||||||
@ -239,7 +239,7 @@ tasks:
|
|||||||
snapcraft upload --release={{.CHANNEL}} waveterm_{{.UP_VERSION}}_arm64.snap
|
snapcraft upload --release={{.CHANNEL}} waveterm_{{.UP_VERSION}}_arm64.snap
|
||||||
snapcraft upload --release={{.CHANNEL}} waveterm_{{.UP_VERSION}}_amd64.snap
|
snapcraft upload --release={{.CHANNEL}} waveterm_{{.UP_VERSION}}_amd64.snap
|
||||||
|
|
||||||
artifacts:publish:winget:*:
|
artifacts:winget:publish:*:
|
||||||
desc: Submits a version bump request to WinGet for the latest release.
|
desc: Submits a version bump request to WinGet for the latest release.
|
||||||
status:
|
status:
|
||||||
- exit {{if contains UP_VERSION "beta"}}0{{else}}1{{end}}
|
- exit {{if contains UP_VERSION "beta"}}0{{else}}1{{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user