Compare commits

...

6 Commits

Author SHA1 Message Date
ikun0014
7968d40491 Update release.yml 2025-06-08 19:13:14 +08:00
ikun0014
cc9778e537 Update release.yml 2025-06-08 19:11:31 +08:00
ikun0014
1f09166b49 Update release.yml 2025-06-08 19:09:01 +08:00
ikun0014
02e139e23e 1.5.1 2025-06-08 19:07:21 +08:00
ikun0014
3e336e0b65 Update __init__.py 2025-06-08 19:07:18 +08:00
ikun0014
a511ec20df Update release.yml 2025-06-08 19:06:48 +08:00
3 changed files with 14 additions and 16 deletions

View File

@@ -51,9 +51,8 @@ jobs:
- name: Build executable
run: |
pyinstaller --onefile `
--icon "./icon.jpg" `
--name "Onekey_v${{ steps.get_version.outputs.VERSION }}" `
--uac-admin `
--uac-uiaccess `
--add-data "src;src" `
--hidden-import=winreg `
--hidden-import=httpx `
@@ -72,19 +71,8 @@ jobs:
./dist/*.exe
args: "-fq"
- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: dist/Onekey_v${{ steps.get_version.outputs.VERSION }}.exe
draft: false
prerelease: false
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create tag and release (if not tagged)
if: github.ref == 'refs/heads/main'
- name: Create Tag
run: |
git config user.name github-actions
git config user.email github-actions@github.com
@@ -97,6 +85,16 @@ jobs:
git push origin "v$version"
}
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: dist/Onekey_v${{ steps.get_version.outputs.VERSION }}.exe
draft: false
prerelease: false
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload to Gitee Release
if: success() && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main')
continue-on-error: true

View File

@@ -1,6 +1,6 @@
{
"name": "onekey",
"version": "1.5.0",
"version": "1.5.1",
"description": "一个Steam仓库清单下载器",
"main": "index.js",
"scripts": {

View File

@@ -1,3 +1,3 @@
__version__ = "1.5.0"
__version__ = "1.5.1"
__author__ = "ikun0014"
__website__ = "ikunshare.top"