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