File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments