@momo-kits/native-kits 0.162.2-test.23 → 0.162.2-test.24

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.2-test.23",
3
+ "version": "0.162.2-test.24",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},
package/publish.sh CHANGED
@@ -251,6 +251,9 @@ phase_publish_maven() {
251
251
 
252
252
  # Temporarily remove composeResources and compose { resources { ... } } block
253
253
  echo "📦 Backing up sample/shared composeResources and build.gradle.kts..."
254
+ # mv into an existing dir nests instead of renaming, so a backup left behind by a
255
+ # crashed run must be cleared first or the restore below puts back the wrong tree.
256
+ rm -rf sample/shared/src/commonMain/composeResources.backup
254
257
  if [ -d "sample/shared/src/commonMain/composeResources" ]; then
255
258
  mv sample/shared/src/commonMain/composeResources sample/shared/src/commonMain/composeResources.backup
256
259
  fi