@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.
- package/package.json +1 -1
- package/publish.sh +3 -0
package/package.json
CHANGED
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
|