Skip to content

Commit 3e91010

Browse files
authored
Merge branch '7.x' into main
2 parents 439f39b + 20d3dfc commit 3e91010

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

filesystem/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
4444
"clean": "rimraf ./dist",
4545
"watch": "tsc --watch",
46-
"prepublishOnly": "npm run build",
47-
"publish:cocoapod": "pod trunk push ./CapacitorFilesystem.podspec --allow-warnings"
46+
"prepublishOnly": "npm run build"
4847
},
4948
"devDependencies": {
5049
"@capacitor/android": "^7.0.0",

geolocation/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
4444
"clean": "rimraf ./dist",
4545
"watch": "tsc --watch",
46-
"prepublishOnly": "npm run build",
47-
"publish:cocoapod": "pod trunk push ./CapacitorGeolocation.podspec --allow-warnings"
46+
"prepublishOnly": "npm run build"
4847
},
4948
"devDependencies": {
5049
"@capacitor/android": "^7.0.0",

scripts/publish-android.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ publish_plugin () {
2020
# Get latest plugin info from MavenCentral
2121
PLUGIN_PUBLISHED_URL="https://repo1.maven.org/maven2/com/capacitorjs/$PLUGIN_NAME/maven-metadata.xml"
2222
PLUGIN_PUBLISHED_DATA=$(curl -s $PLUGIN_PUBLISHED_URL)
23-
PLUGIN_PUBLISHED_VERSION="$(perl -ne 'print and last if s/.*<latest>(.*)<\/latest>.*/\1/;' <<< $PLUGIN_PUBLISHED_DATA)"
2423

25-
if [[ $PLUGIN_VERSION == $PLUGIN_PUBLISHED_VERSION ]]; then
24+
if echo "$PLUGIN_PUBLISHED_DATA" | grep -q "<version>$PLUGIN_VERSION</version>"; then
2625
printf %"s\n\n" "Duplicate: a published plugin $PLUGIN_NAME exists for version $PLUGIN_VERSION, skipping..."
2726
else
2827
# Make log dir if doesnt exist

0 commit comments

Comments
 (0)