Skip to content

Commit 74747f6

Browse files
committed
Merge branch 'master' of github.com:MCSManager/fnOS-Pack
2 parents ad2fc6b + 97d2440 commit 74747f6

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,21 @@ jobs:
1818
- name: Checkout
1919
uses: actions/[email protected]
2020

21-
- name: Build Package
22-
run: |
23-
chmod +x ./build/fnpack-1.0.4-linux-amd64
24-
./build/fnpack-1.0.4-linux-amd64 build mcsmanager
25-
2621
- name: Get current package version
2722
id: package-version
2823
uses: martinbeentjes/[email protected]
2924
with:
3025
path: mcsmanager/app/server/web
3126

27+
- name: Update version in manifest file
28+
run: |
29+
sed -i "s/version=1.0.0/version=${{ steps.package-version.outputs.current-version }}/" mcsmanager/manifest
30+
31+
- name: Build Package
32+
run: |
33+
chmod +x ./build/fnpack-1.0.4-linux-amd64
34+
./build/fnpack-1.0.4-linux-amd64 build mcsmanager
35+
3236
- name: Release
3337
uses: ncipollo/[email protected]
3438
with:

mcsmanager/manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
appname=mcsmanager
2-
version=10.11.0
2+
version=1.0.0
33
desc=开源,一键开服,分布式架构,多用户,现代化的 Minecraft 和 Steam 游戏服务器管理面板,此应用整合了节点端和面板端两个子应用,默认需要 23333 和 24444 端口才可正常工作。
44
arch=x86_64
55
display_name=MCSManager 面板

0 commit comments

Comments
 (0)