Skip to content

Commit

Permalink
+ winget publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxBQb committed Apr 30, 2023
1 parent cb55bfb commit 0cd0b3e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
23 changes: 22 additions & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,32 @@ jobs:
shell: cmd

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
name: Release v${{ github.ref_name }}
files: |
BulkStartStop_portable.zip
setup/BulkStartStop_setup.exe
setup/BulkStartStop_setup.exe
- name: Update package manifest
run: |
iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
./wingetcreate update $Env:NAME -u $Env:URL -v $Env:VERSION -t $Env:TOKEN --submit
env:
NAME: MaxBQb.BulkStartStop
URL: https://github.com/MBQbUtils/BulkStartStop/releases/download/${{ github.ref_name }}/BulkStartStop_setup.exe|x64
VERSION: ${{ github.ref_name }}
TOKEN: ${{ secrets.TOKEN }}

- name: Rollback Release
if: failure()
uses: author/action-rollback@stable
with:
release_id: ${{ steps.create_release.id }}
tag: ${{ github.ref_name }}
delete_orphan_tag: true
env:
GITHUB_TOKEN: ${{ github.token }}
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ Features:
![image](https://user-images.githubusercontent.com/27343275/223377875-6372e719-6b8d-4c9b-88bc-af7f7827d750.png)
![image](https://user-images.githubusercontent.com/27343275/223378776-80b98933-0377-43b3-b1fd-bc1adecfe1ae.png)

# 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)
# 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/)
### [ [Portable](https://github.com/MBQbUtils/BulkStartStop/releases/latest/download/BulkStartStop_portable.zip) ] [ [Installer](https://github.com/MBQbUtils/BulkStartStop/releases/latest/download/BulkStartStop_setup.exe) ]
### Or
```
winget install BulkStartStop
```
## Theme used: [forest-dark](https://github.com/rdbende/Forest-ttk-theme) with minor changes
## Main lib used: [WinJobster](https://github.com/SemperSolus0x3d/WinJobster) with minor changes

Expand Down

0 comments on commit 0cd0b3e

Please sign in to comment.