Skip to content

Commit 0cd0b3e

Browse files
committed
+ winget publishing
1 parent cb55bfb commit 0cd0b3e

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

.github/workflows/build_release.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,32 @@ jobs:
3636
shell: cmd
3737

3838
- name: Create Release
39+
id: create_release
3940
uses: softprops/action-gh-release@v1
4041
env:
4142
GITHUB_TOKEN: ${{ github.token }}
4243
with:
4344
name: Release v${{ github.ref_name }}
4445
files: |
4546
BulkStartStop_portable.zip
46-
setup/BulkStartStop_setup.exe
47+
setup/BulkStartStop_setup.exe
48+
49+
- name: Update package manifest
50+
run: |
51+
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
52+
./wingetcreate update $Env:NAME -u $Env:URL -v $Env:VERSION -t $Env:TOKEN --submit
53+
env:
54+
NAME: MaxBQb.BulkStartStop
55+
URL: https://github.com/MBQbUtils/BulkStartStop/releases/download/${{ github.ref_name }}/BulkStartStop_setup.exe|x64
56+
VERSION: ${{ github.ref_name }}
57+
TOKEN: ${{ secrets.TOKEN }}
58+
59+
- name: Rollback Release
60+
if: failure()
61+
uses: author/action-rollback@stable
62+
with:
63+
release_id: ${{ steps.create_release.id }}
64+
tag: ${{ github.ref_name }}
65+
delete_orphan_tag: true
66+
env:
67+
GITHUB_TOKEN: ${{ github.token }}

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ Features:
1515
![image](https://user-images.githubusercontent.com/27343275/223377875-6372e719-6b8d-4c9b-88bc-af7f7827d750.png)
1616
![image](https://user-images.githubusercontent.com/27343275/223378776-80b98933-0377-43b3-b1fd-bc1adecfe1ae.png)
1717

18-
# Download: [![Latest](https://img.shields.io/github/v/tag/MBQbUtils/BulkStartStop?sort=date&label=&style=for-the-badge&color=424242)](https://github.com/MBQbUtils/BulkStartStop/releases/latest/download/BulkStartStop_portable.zip)
18+
# Download: [![Latest](https://img.shields.io/github/v/tag/MBQbUtils/BulkStartStop?sort=date&label=&style=for-the-badge&color=424242)](https://github.com/MBQbUtils/BulkStartStop/releases/latest/)
19+
### [ [Portable](https://github.com/MBQbUtils/BulkStartStop/releases/latest/download/BulkStartStop_portable.zip) ] [ [Installer](https://github.com/MBQbUtils/BulkStartStop/releases/latest/download/BulkStartStop_setup.exe) ]
20+
### Or
21+
```
22+
winget install BulkStartStop
23+
```
1924
## Theme used: [forest-dark](https://github.com/rdbende/Forest-ttk-theme) with minor changes
2025
## Main lib used: [WinJobster](https://github.com/SemperSolus0x3d/WinJobster) with minor changes
2126

0 commit comments

Comments
 (0)