Skip to content

Commit

Permalink
feat: 1.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
fy0 committed Oct 10, 2023
1 parent f7c58b5 commit d0adb7c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ env:
ANDROID_NDK_VERSION: r25c
COMMIT_ID: "${{ github.sha }}"
NO_BUILD_PROMPT: "no new commits, no need to build."
PROJECT_VERSION: "1.3.0"
PROJECT_VERSION_DISPLAY: "v1.3.0 v20230910"
PROJECT_VERSION: "1.4.0"
PROJECT_VERSION_DISPLAY: "v1.4.0 v20231010"

jobs:
commit-num-check:
Expand Down Expand Up @@ -36,8 +36,8 @@ jobs:
run: |
cd sealdice-core
# echo "PROJECT_VERSION=dev-${COMMIT_ID::7}" >> "$GITHUB_OUTPUT";
echo "PROJECT_VERSION=1.3.0" >> "$GITHUB_OUTPUT";
echo "PROJECT_VERSION_DISPLAY=v1.3.0 v20230910" >> "$GITHUB_OUTPUT";
echo "PROJECT_VERSION=1.4.0" >> "$GITHUB_OUTPUT";
echo "PROJECT_VERSION_DISPLAY=v1.4.0 v20231010" >> "$GITHUB_OUTPUT";
- name: Warning
run: if [ $(git log --oneline --since '24 hours ago' | wc -l) <= 0 ]; then echo $NO_BUILD_PROMPT; fi
Expand Down Expand Up @@ -315,7 +315,8 @@ jobs:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
GO111MODULE: on
CGO_ENABLED: ${{ matrix.goarch != 'arm64' && 1 || 0 }}
# CGO_ENABLED: ${{ matrix.goarch != 'arm64' && 1 || 0 }}
CGO_ENABLED: ${{ matrix.goos == 'windows' && 1 || 0 }} # 为了规避glibc兼容问题,linux上不使用cgo
CGO_FLAGS: -Werror=unused-variable -Werror=implicit-function-declaration -O2 -H=windowsgui
working-directory: ./sealdice-core
run: go build -o "output/$BINARY_NAME" -trimpath -ldflags "-s -w" .
Expand Down Expand Up @@ -672,10 +673,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v1.3.0
tag_name: v1.4.0
name: ${{ env.PROJECT_VERSION_DISPLAY }}
prerelease: false
body: ''
body: 'changelog: https://sealdice.com/changelog'
files: |
./dist/sealdice*
Expand Down
2 changes: 1 addition & 1 deletion sealdice-builtins
2 changes: 1 addition & 1 deletion sealdice-core
Submodule sealdice-core updated 78 files
+3 −0 .gitignore
+1 −1 .goreleaser.yaml
+31 −1 api/api_bind.go
+35 −0 api/backup.go
+78 −12 api/ban.go
+524 −0 api/censor.go
+27 −2 api/conn.go
+57 −1 api/deck.go
+75 −0 api/dice.go
+126 −44 api/dice_config.go
+1 −1 api/group.go
+63 −10 api/js.go
+2 −2 api/misc.go
+139 −0 api/story_log.go
+617 −253 dice/builtin_commands.go
+298 −0 dice/censor/censor.go
+80 −0 dice/censor/trie.go
+65 −0 dice/censor/trie_test.go
+133 −57 dice/cmd_parse.go
+231 −48 dice/config.go
+113 −91 dice/cq_helper.go
+85 −26 dice/dice.go
+1 −0 dice/dice_backup.go
+52 −11 dice/dice_ban.go
+244 −0 dice/dice_censor.go
+78 −98 dice/dice_help.go
+132 −6 dice/dice_jsvm.go
+10 −7 dice/dice_manager.go
+76 −4 dice/dice_name_generator.go
+88 −60 dice/ext_coc7.go
+394 −93 dice/ext_deck.go
+74 −33 dice/ext_dnd5e.go
+7 −5 dice/ext_fun.go
+174 −54 dice/ext_log.go
+129 −49 dice/ext_story.go
+19 −7 dice/game_system_template.go
+27 −1 dice/gocqhttp_helper.go
+173 −0 dice/gocqhttp_helper_appversion.go
+76 −10 dice/im_helpers.go
+214 −87 dice/im_session.go
+107 −0 dice/model/censor_log.go
+60 −1 dice/model/db.go
+44 −0 dice/model/db_utils.go
+49 −0 dice/model/endpoint_info.go
+237 −3 dice/model/log.go
+3 −0 dice/platform_adapter.go
+111 −62 dice/platform_adapter_discord.go
+24 −3 dice/platform_adapter_dodo.go
+13 −0 dice/platform_adapter_http.go
+64 −0 dice/platform_adapter_kook.go
+22 −1 dice/platform_adapter_minecraft.go
+12 −3 dice/platform_adapter_qq.go
+81 −4 dice/platform_adapter_qq_actions.go
+61 −2 dice/platform_adapter_telegram.go
+24 −2 dice/platform_adapter_walleq.go
+3 −0 dice/rollvm.go
+2 −1 dice/telegram_helper.go
+21 −3 dice/utils.go
+52 −21 dice/utils_email.go
+39 −0 dice/utils_ext.go
+45 −1 dice/utils_misc.go
+26 −13 go.mod
+54 −26 go.sum
+0 −0 icon/.nomedia
+1,527 −1,527 icon/iconwin.go
+73 −132 main.go
+32 −35 migrate/convert_logs.go
+49 −56 migrate/convert_serve.go
+12 −3 migrate/log_item_fix_type.go
+143 −0 migrate/v131_deprecated_config.go
+1 −1 sealdice-ui
+0 −0 static/.nomedia
+13 −9 tray_others.go
+12 −2 tray_windows.go
+32 −203 update.go
+199 −0 update_updater.go
+27 −0 utils/rate.go
+64 −0 utils/spinner/spinner.go

0 comments on commit d0adb7c

Please sign in to comment.