Skip to content

Commit f57ba2d

Browse files
committed
ci: new branch for next minor version
1 parent ceecf06 commit f57ba2d

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

.github/workflows/auto-build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- cron: '0 12 * * *'
66
push:
77
branches:
8-
- dev
8+
- next
99
workflow_dispatch:
1010

1111
env:
@@ -64,6 +64,8 @@ jobs:
6464
goarch: '386'
6565
fail-fast: true
6666
steps:
67+
- name: Apt-get Update
68+
run: sudo apt-get update
6769
- name: Code
6870
uses: actions/checkout@v3
6971
with:
@@ -227,6 +229,8 @@ jobs:
227229
goarch: arm64
228230
fail-fast: true
229231
steps:
232+
- name: Apt-get Update
233+
run: sudo apt-get update
230234
- name: Code
231235
uses: actions/checkout@v3
232236
with:
@@ -613,8 +617,8 @@ jobs:
613617
env:
614618
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
615619
with:
616-
tag_name: pre-release
617-
name: 'Latest Dev Build $$'
620+
tag_name: pre-release-next
621+
name: 'Latest Dev Build $$ (next minor)'
618622
prerelease: true
619623
body: '> ⚠️注意️️:这是自动构建的预发布版本,非正式版本!'
620624
files: |

update-submodules.cmd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,13 @@
22
git submodule init
33
git submodule update
44
git submodule foreach git pull origin master
5+
6+
cd sealdice-core
7+
git config pull.rebase false
8+
git fetch origin dev
9+
git checkout dev
10+
git reset --hard
11+
cd ..
12+
513
git commit -am "chore: bump submodules"
614
git push

update-submodules.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
#!/bin/bash
2-
git pull
2+
#git pull
33
git submodule init
44
git submodule update
55
git submodule foreach git pull origin master
6+
7+
cd sealdice-core
8+
git config pull.rebase false
9+
git fetch origin dev
10+
git checkout dev
11+
git reset --hard
12+
cd ..
13+
614
git commit -am "chore: bump submodules"
715
git push
8-

0 commit comments

Comments
 (0)