Merge remote-tracking branch 'origin/dev' into release/mobile/0.1.6

This commit is contained in:
Innei
2025-04-18 19:08:31 +08:00
9 changed files with 60 additions and 17 deletions
+42
View File
@@ -0,0 +1,42 @@
name: Branch Synchronization
on:
push:
branches:
- main
jobs:
sync-branches:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Git
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
- name: Prepare sync branch
id: branch
run: |
echo "SYNC_BRANCH_MAIN_DEV=sync/main-to-dev-$(date +'%Y%m%d')" >> $GITHUB_ENV
- name: Sync main to dev
if: github.ref == 'refs/heads/main'
run: |
# Sync main to dev
git checkout main
SYNC_BRANCH_DEV=${{ env.SYNC_BRANCH_MAIN_DEV }}
git checkout -B $SYNC_BRANCH_DEV
DIFF=$(git diff origin/dev...)
if [ -z "$DIFF" ]; then
echo "No changes to sync"
exit 0
fi
git push origin $SYNC_BRANCH_DEV -f
gh pr create --base dev --head $SYNC_BRANCH_DEV --title "Sync main branch to dev branch" --body "Automatic sync" || exit 0
env:
GH_TOKEN: ${{ github.token }}
+2 -2
View File
@@ -11,8 +11,8 @@ export default defineConfig({
"pnpm prettier --ignore-unknown --write package.json",
"git add package.json",
],
trailing: [
"git checkout -b release/desktop/${NEW_VERSION}",
trailing: ["git checkout -b release/desktop/${NEW_VERSION}"],
finally: [
"git push origin release/desktop/${NEW_VERSION}",
"gh pr create --title 'release(desktop): Release v${NEW_VERSION}' --body 'v${NEW_VERSION}' --base main --head release/desktop/${NEW_VERSION}",
],
+1
View File
@@ -13,3 +13,4 @@
- Fixed TTS failed to play (#3522)
- Fixed corner player can not navigate to correct entry (#1401)
- Fixed unable to save to Readwise (#3497)
+1 -1
View File
@@ -75,7 +75,7 @@
"hono": "4.7.6",
"html-minifier-terser": "7.2.0",
"js-yaml": "4.1.0",
"nbump": "2.0.9",
"nbump": "2.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"tar": "7.4.3",
+2 -2
View File
@@ -10,8 +10,8 @@ export default defineConfig({
"pnpm prettier --ignore-unknown --write package.json",
"git add package.json",
],
trailing: [
"git checkout -b release/mobile/${NEW_VERSION}",
trailing: ["git checkout -b release/mobile/${NEW_VERSION}"],
finally: [
"git push origin release/mobile/${NEW_VERSION}",
"gh pr create --title 'release(mobile): Release v${NEW_VERSION}' --body 'v${NEW_VERSION}' --base main --head release/mobile/${NEW_VERSION}",
],
+1 -1
View File
@@ -137,7 +137,7 @@
"drizzle-kit": "0.31.0",
"eas-cli": "16.3.2",
"expo-drizzle-studio-plugin": "0.1.2",
"nbump": "2.0.9",
"nbump": "2.1.0",
"postcss": "8.5.3",
"sf-symbols-typescript": "2.1.0"
},
@@ -49,7 +49,7 @@ interface RelativeDateTimeProps extends TextProps {
export const RelativeDateTime = ({
date,
displayAbsoluteTimeAfterDay,
displayAbsoluteTimeAfterDay = 29,
dateFormatTemplate,
postfixText,
...props
+1 -1
View File
@@ -56,7 +56,7 @@
"eslint-plugin-react-native": "5.0.0",
"fast-glob": "3.3.3",
"lint-staged": "15.5.1",
"nbump": "2.0.9",
"nbump": "2.1.0",
"postcss": "8.5.3",
"postcss-js": "4.0.1",
"prettier": "3.5.3",
+9 -9
View File
@@ -134,8 +134,8 @@ importers:
specifier: 15.5.1
version: 15.5.1
nbump:
specifier: 2.0.9
version: 2.0.9(conventional-commits-filter@5.0.0)
specifier: 2.1.0
version: 2.1.0(conventional-commits-filter@5.0.0)
postcss:
specifier: 8.5.3
version: 8.5.3
@@ -333,8 +333,8 @@ importers:
specifier: 4.1.0
version: 4.1.0
nbump:
specifier: 2.0.9
version: 2.0.9(conventional-commits-filter@5.0.0)
specifier: 2.1.0
version: 2.1.0(conventional-commits-filter@5.0.0)
react:
specifier: 18.3.1
version: 18.3.1
@@ -1110,8 +1110,8 @@ importers:
specifier: 0.1.2
version: 0.1.2(expo@52.0.46(@babel/core@7.26.10)(@babel/preset-env@7.26.9(@babel/core@7.26.10))(@expo/metro-runtime@4.0.1(react-native@0.77.2(@babel/core@7.26.10)(@babel/preset-env@7.26.9(@babel/core@7.26.10))(@types/react@18.3.12)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@6.0.5)))(bufferutil@4.0.9)(encoding@0.1.13)(graphql@16.8.1)(react-native-webview@13.13.5(react-native@0.77.2(@babel/core@7.26.10)(@babel/preset-env@7.26.9(@babel/core@7.26.10))(@types/react@18.3.12)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@6.0.5))(react@18.3.1))(react-native@0.77.2(@babel/core@7.26.10)(@babel/preset-env@7.26.9(@babel/core@7.26.10))(@types/react@18.3.12)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@6.0.5))(react@18.3.1)(utf-8-validate@6.0.5))(react-native@0.77.2(@babel/core@7.26.10)(@babel/preset-env@7.26.9(@babel/core@7.26.10))(@types/react@18.3.12)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@6.0.5))(react@18.3.1)
nbump:
specifier: 2.0.9
version: 2.0.9(conventional-commits-filter@5.0.0)
specifier: 2.1.0
version: 2.1.0(conventional-commits-filter@5.0.0)
postcss:
specifier: 8.5.3
version: 8.5.3
@@ -11880,8 +11880,8 @@ packages:
natural-orderby@2.0.3:
resolution: {integrity: sha512-p7KTHxU0CUrcOXe62Zfrb5Z13nLvPhSWR/so3kFulUQU0sgUll2Z0LwpsLN351eOOD+hRGu/F1g+6xDfPeD++Q==}
nbump@2.0.9:
resolution: {integrity: sha512-k6leMcxNT3eOE0jQOqGw+tVXUJcT8qvtraFdZPvgFWZp63kDkTH8xlLojNRN7GMIkFfugXj3sIvdxCvdi+2L3Q==}
nbump@2.1.0:
resolution: {integrity: sha512-2xHOFtULhfpZfmYLOtx0fPkcTEqer9fTQCrT1qVmmdk00dznSZ/j1ntDBM6UMB2LiduZmnWde69dt7R17E+N9A==}
hasBin: true
ncp@2.0.0:
@@ -28677,7 +28677,7 @@ snapshots:
natural-orderby@2.0.3: {}
nbump@2.0.9(conventional-commits-filter@5.0.0):
nbump@2.1.0(conventional-commits-filter@5.0.0):
dependencies:
c12: 3.0.3
conventional-changelog: 6.0.0(conventional-commits-filter@5.0.0)