@momo-kits/native-kits 0.162.22 → 0.162.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/publish.sh +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.162.22",
3
+ "version": "0.162.23",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},
package/publish.sh CHANGED
@@ -301,6 +301,9 @@ phase_publish_maven() {
301
301
 
302
302
  # Temporarily remove composeResources and compose { resources { ... } } block
303
303
  echo "📦 Backing up sample/shared composeResources and build.gradle.kts..."
304
+ # mv into an existing dir nests instead of renaming, so a backup left behind by a
305
+ # crashed run must be cleared first or the restore below puts back the wrong tree.
306
+ rm -rf sample/shared/src/commonMain/composeResources.backup
304
307
  if [ -d "sample/shared/src/commonMain/composeResources" ]; then
305
308
  mv sample/shared/src/commonMain/composeResources sample/shared/src/commonMain/composeResources.backup
306
309
  fi