Skip to content

Commit b86931f

Browse files
Merge pull request #135 from tonyantony300/pr-131
ci: add WinGet publish workflow for release-based MSI submissions
2 parents bf48eef + d5b81d1 commit b86931f

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: publish-winget
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
winget:
10+
name: Publish to WinGet
11+
runs-on: ubuntu-latest
12+
if: ${{ !github.event.release.prerelease && !github.event.release.draft }}
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- name: Derive package version
18+
id: version
19+
shell: bash
20+
run: |
21+
TAG="${{ github.event.release.tag_name }}"
22+
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
23+
echo "value=${TAG#v}" >> "$GITHUB_OUTPUT"
24+
25+
- name: Publish package to WinGet
26+
uses: vedantmgoyal2009/winget-releaser@4ffc7888bffd451b357355dc214d43bb9f23917e
27+
with:
28+
identifier: TonyAntony.AltSendme
29+
installers-regex: '^AltSendme_.*_x64_.*\.msi$'
30+
version: ${{ steps.version.outputs.value }}
31+
release-tag: ${{ steps.version.outputs.tag }}
32+
token: ${{ secrets.WINGET_TOKEN }}
33+
installer-type: wix
34+
root-locale: en-US
35+
locale: en-US
36+
publisher: Tony Antony
37+
package-name: AltSendme
38+
short-description: Fast, private file sharing over networks.
39+
license: AGPL-3.0
40+
copyright: Copyright (c) 2026 Tony Antony
41+
urls: |
42+
Homepage: https://github.com/tonyantony300/alt-sendme
43+
License: https://github.com/tonyantony300/alt-sendme/blob/main/LICENSE

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ To discard accidental lockfile changes before committing:
143143
git checkout origin/main -- package-lock.json src-tauri/Cargo.lock sendme/Cargo.lock
144144
```
145145

146+
146147
## Code of Conduct
147148

148149
Please be respectful and considerate in all interactions. The goal is to maintain a welcoming and inclusive environment for everyone.

0 commit comments

Comments
 (0)