diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index ac6d986a..b50218b9 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -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: @@ -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 @@ -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" . @@ -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* diff --git a/sealdice-builtins b/sealdice-builtins index 81853ed6..0438e306 160000 --- a/sealdice-builtins +++ b/sealdice-builtins @@ -1 +1 @@ -Subproject commit 81853ed64c11d48be7ec52ad7a15d60745b82d1d +Subproject commit 0438e306271fa08429afb3eef1f9bb69095ec43e diff --git a/sealdice-core b/sealdice-core index 5760dc98..37a93d7a 160000 --- a/sealdice-core +++ b/sealdice-core @@ -1 +1 @@ -Subproject commit 5760dc98bc8ae98df4ed086d262c3b641af9d79d +Subproject commit 37a93d7a6a9bff1ea96b2d630674de7db1cd9afd diff --git a/sealdice-ui b/sealdice-ui index 605ca9b6..84490961 160000 --- a/sealdice-ui +++ b/sealdice-ui @@ -1 +1 @@ -Subproject commit 605ca9b6f0cf975ec27af66a2ccd701e2ffe724e +Subproject commit 8449096159e4000f1f71b870134f7d72459d683f