Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 0b8d0ad

Browse files
committed
修改版本信息
1 parent 257eacb commit 0b8d0ad

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/AutoBuild.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: AutoBuild
22
on:
33
push:
4-
branches: ["master"]
4+
branches: ["master", "dev"]
55
pull_request:
66
types:
77
- opened
@@ -60,7 +60,7 @@ jobs:
6060
- name: Execute unit tests
6161
run: dotnet test
6262
- name: Build
63-
run: dotnet build WonderLab/WonderLabX.csproj --configuration Release -t:BundleApp -p:RuntimeIdentifier=osx-x64
63+
run: dotnet build WonderLab/WonderLabX.csproj --configuration Release -p:RuntimeIdentifier=osx-x64
6464
- name: Upload build artifacts
6565
uses: actions/upload-artifact@v3
6666
with:
@@ -101,6 +101,8 @@ jobs:
101101
dotnet-version: 6.0.x
102102
- name: Execute unit tests
103103
run: dotnet test
104+
- name: Install Rpm Tool
105+
run: dotnet tool install --global dotnet-rpm
104106
- name: Build
105107
run: dotnet publish WonderLab/WonderLabX.csproj -c Release -r "linux-x64" -p:PublishSingleFile="false" -p:PublishReadyToRun=true -t:CreateRpm
106108
- name: Upload build artifacts

WonderLab/WonderLabX.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@
122122
<CFBundleShortVersionString>12.0.2.0</CFBundleShortVersionString>
123123
<SignAssembly>True</SignAssembly>
124124
<ApplicationIcon>icon.ico</ApplicationIcon>
125+
<StartupObject>WonderLab.Program</StartupObject>
126+
<Version>1.2.0</Version>
127+
<AssemblyVersion>1.2.0</AssemblyVersion>
128+
<FileVersion>1.2.0</FileVersion>
125129
</PropertyGroup>
126130

127131
<ProjectExtensions><VisualStudio><UserProperties resources_4moddata_1json__JsonSchema="https://appsemble.app/api.json" /></VisualStudio></ProjectExtensions>

0 commit comments

Comments
 (0)