Releases: bitrise-steplib/steps-cordova-archive
2.0.0
The option to run cordova platform add <platform>
was removed. These commands are not suited to be run on a CI environment, and should be ran during development. Instead, cordova prepare <platform>
is called, which restores cordova platforms and plugins.
Adding a default options flag for cordova to use the legacy XCode build system, as cordova does not yet officially support the new one. (apache/cordova-ios#407)
If yarn.lock
is present in the working directly, yarn is used to install cordova and ionic packages (if related parameters are present). This can conflict with platform add command tough. (https://issues.apache.org/jira/browse/CB-12242).
Migration guide
If platform rm or add is needed to be run during the build, add a script step before the corodva-archive step for this functionality.
Moving from v1 to v2:
- If using cordova-prepare step, update it to version 1.
- Make sure to remove the input parameters add_platform, readd_platform.
1.2.1
Fix the bug which caused duplicated root folder for the exported .dsym
and .app
files.
This solution will fix the empty exported *dsym.zip
or *app.zip
bug as well.
Before the fix we exported the .dsym and the .app like this:
dSYM
└── dSYM
└── Contents
├── Info.plist
└── Resources
└── DWARF
└── CordovaOnBitrise
Instead of:
dSYM
└── Contents
├── Info.plist
└── Resources
└── DWARF
└── CordovaOnBitrise