Skip to content

Commit 1e533ef

Browse files
authored
Merge pull request #234 from TraGicCode/chore/fix-mistake-in-winget-release
Fix missing v issue
2 parents a152369 + 1ac6f5c commit 1e533ef

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/winget_deploy.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,10 @@ jobs:
1212
- name: Checkout
1313
uses: actions/checkout@v6
1414

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-
3015
- name: Update Winget package
3116
uses: michidk/winget-updater@v1
3217
with:
3318
komac-token: ${{ secrets.GH_TOKEN_FOR_WINGET_PUBLISH }}
3419
identifier: "TragicCode.BuslyCLI"
3520
repo: "TraGicCode/busly-cli"
36-
url: "https://github.com/TraGicCode/busly-cli/releases/download/v${{ github.event.release.tag_name }}/busly-cli-v${{ github.event.release.tag_name }}-win-x64.zip"
21+
url: "https://github.com/TraGicCode/busly-cli/releases/download/${{ github.event.release.tag_name }}/busly-cli-${{ github.event.release.tag_name }}-win-x64.zip"

0 commit comments

Comments
 (0)