Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@auto-canary/cocoapods

Package Overview
Dependencies
Maintainers
2
Versions
887
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auto-canary/cocoapods - npm Package Compare versions

Comparing version 9.19.6-canary.1066.14016.0 to 9.20.0-canary.1066.14021.0

59

dist/index.js

@@ -77,3 +77,2 @@ "use strict";

catch (error) {
console.log(error);
throw new Error(`Error updating version in podspec: ${podspecPath}`);

@@ -98,9 +97,4 @@ }

});
auto.hooks.modifyConfig.tap(this.name, (config) => {
config.noVersionPrefix = true;
return config;
});
auto.hooks.getPreviousVersion.tapPromise(this.name, async () => {
return auto.prefixRelease(getVersion(this.options.podspecPath));
});
auto.hooks.modifyConfig.tap(this.name, config => (Object.assign(Object.assign({}, config), { noVersionPrefix: true })));
auto.hooks.getPreviousVersion.tapPromise(this.name, async () => auto.prefixRelease(getVersion(this.options.podspecPath)));
auto.hooks.version.tapPromise(this.name, async (version) => {

@@ -113,3 +107,2 @@ const previousVersion = getVersion(this.options.podspecPath);

await updatePodspecVersion(this.options.podspecPath, releaseVersion);
// Ensure tag is on this commit, changelog will be added automatically
await core_1.execPromise('git', [

@@ -130,29 +123,29 @@ 'tag',

]);
if (this.options.specsRepo) {
try {
await core_1.execPromise('pod', [
'repo',
'add',
'autoPublishRepo',
this.options.specsRepo
]);
auto.logger.log.info(logMessage(`Pushing to specs repo: ${this.options.specsRepo}`));
await core_1.execPromise('pod', [
'repo',
'push',
'autoPublishRepo',
this.options.podspecPath
]);
}
catch (error) {
auto.logger.log.error(logMessage(`Error pushing to specs repo: ${this.options.specsRepo}. Error: ${error}`));
}
finally {
await core_1.execPromise('pod', ['repo', 'remove', 'autoPublishRepo']);
}
}
else {
if (!this.options.specsRepo) {
auto.logger.log.info(logMessage(`Pushing to Cocoapods trunk`));
await core_1.execPromise('pod', ['trunk', 'push', this.options.podspecPath]);
return;
}
try {
await core_1.execPromise('pod', [
'repo',
'add',
'autoPublishRepo',
this.options.specsRepo
]);
auto.logger.log.info(logMessage(`Pushing to specs repo: ${this.options.specsRepo}`));
await core_1.execPromise('pod', [
'repo',
'push',
'autoPublishRepo',
this.options.podspecPath
]);
}
catch (error) {
auto.logger.log.error(logMessage(`Error pushing to specs repo: ${this.options.specsRepo}. Error: ${error}`));
process.exit(1);
}
finally {
await core_1.execPromise('pod', ['repo', 'remove', 'autoPublishRepo']);
}
});

@@ -159,0 +152,0 @@ }

{
"name": "@auto-canary/cocoapods",
"version": "9.19.6-canary.1066.14016.0",
"version": "9.20.0-canary.1066.14021.0",
"main": "dist/index.js",

@@ -39,3 +39,3 @@ "description": "Use auto to version your cocoapod",

"dependencies": {
"@auto-canary/core": "9.19.6-canary.1066.14016.0",
"@auto-canary/core": "9.20.0-canary.1066.14021.0",
"fp-ts": "^2.5.3",

@@ -46,3 +46,3 @@ "io-ts": "^2.1.2",

},
"gitHead": "d217ac5a3d6262d3ab47557bcc69db1b1f97452b"
"gitHead": "0510e692266751c3f882264b8a5328593964cd2d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc