File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments