Skip to content

Commit ad90649

Browse files
更新 release.yml
1 parent acf71fe commit ad90649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
MAJOR=$(echo ${{ env.VERSION }} | cut -d '.' -f 1)
7575
MINOR=$(echo ${{ env.VERSION }} | cut -d '.' -f 2)
7676
PATCH=$(echo ${{ env.VERSION }} | cut -d '.' -f 3 | cut -d '-' -f 1)
77-
build_number=$((($MAJOR - 1) * 10000 + $MINOR * 100 + $PATCH))
77+
build_number=$(($MAJOR * 10000 + $MINOR * 100 + $PATCH))
7878
echo "BUILD_NUMBER=$build_number" >> $GITHUB_ENV
7979
8080
- name: Build Mobile apk

0 commit comments

Comments
 (0)