Skip to content

Commit 1c1d246

Browse files
authored
Merge pull request #164 from TraGicCode/create-winget-install-option
Add winget installation option and automated release process
2 parents 3d7f8ad + 2a139ed commit 1c1d246

File tree

4 files changed

+44
-2
lines changed

4 files changed

+44
-2
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Publish WinGet Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build-and-pack:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v6
14+
15+
- name: Extract version (without v)
16+
id: version
17+
run: |
18+
if [ "${{ github.event_name }}" = "release" ]; then
19+
# Extract version from release tag (remove any 'v' prefix)
20+
VERSION="${{ github.event.release.tag_name }}"
21+
VERSION=${VERSION#v} # Remove 'v' prefix if present
22+
else
23+
VERSION="${{ github.event.inputs.version }}"
24+
VERSION=${VERSION#v} # Remove 'v' prefix if present
25+
fi
26+
27+
echo "version=$VERSION" >> $GITHUB_OUTPUT
28+
echo "Syncing version: $VERSION"
29+
30+
- name: Update Winget package
31+
uses: vedantmgoyal9/winget-releaser@main
32+
with:
33+
identifier: TragicCode.BuslyCLI
34+
installers-regex: 'busly-cli-${{ github.event.release.tag_name }}-win-(x64)\.zip$'
35+
token: ${{ secrets.GH_TOKEN_FOR_WINGET_PUBLISH }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Built for speed and simplicity, this tool streamlines common **messaging**, **te
2525
- 🌐 **Supported transports** – Works with **Azure Service Bus**, **RabbitMQ**, and **AWS SQS**.
2626
- ⚙️ **Transport configuration file** – Configure and easily switch between multiple transports. Transports can run on your **local machine** or be pointed to **development**, **staging**, or **production** environments.
2727
- 💻 **Cross-platform support** – Works seamlessly on Windows, macOS, and Linux.
28-
- 📦 **Multiple installation options** – Install via **Chocolatey**, **Docker**, **.NET tool (via NuGet)**, or by **downloading the binary directly from GitHub Releases**.
28+
- 📦 **Multiple installation options** – Install via **Chocolatey**, **WinGet**, **Docker**, **.NET tool (via NuGet)**, or by **downloading the binary directly from GitHub Releases**.
2929

3030
## Docs
3131

website/docs/introduction/introduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Built for speed and simplicity, this tool streamlines common **messaging**, **te
2323
- 🌐 **Supported transports** – Works with **Azure Service Bus**, **RabbitMQ**, and **AWS SQS**.
2424
- ⚙️ **Transport configuration file** – Configure and easily switch between multiple transports. Transports can run on your **local machine** or be pointed to **development**, **staging**, or **production** environments.
2525
- 💻 **Cross-platform support** – Works seamlessly on Windows, macOS, and Linux.
26-
- 📦 **Multiple installation options** – Install via **Chocolatey**, **Docker**, **.NET tool (via NuGet)**, or by **downloading the binary directly from GitHub Releases**.
26+
- 📦 **Multiple installation options** – Install via **Chocolatey**, **WinGet**, **Docker**, **.NET tool (via NuGet)**, or by **downloading the binary directly from GitHub Releases**.
2727

2828
<DocCardList />

website/docs/introduction/quick-start.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ Busly CLI was built from the ground up for cross-platform compatibility and offe
1818
choco install busly-cli -y
1919
```
2020

21+
</TabItem>
22+
<TabItem value="winget" label="WinGet">
23+
24+
```bash
25+
winget install TragicCode.BuslyCLI
26+
```
27+
2128
</TabItem>
2229
<TabItem value="docker" label="Docker">
2330

0 commit comments

Comments
 (0)