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

@aircall/ci-scripts

Package Overview
Dependencies
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aircall/ci-scripts - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

14

ci-scripts.js

@@ -10,3 +10,4 @@ #!/usr/bin/env node

getPreviousRelease,
getPreviousReleaseFromSha1
getPreviousReleaseFromSha1,
getReleaseFromSha1
} = require('./github.js');

@@ -177,4 +178,11 @@ const {

case 'latest_version':
const latestReleasedTag = await getLatestReleasedTag();
console.log(!!latestReleasedTag ? latestReleasedTag.tag : 'No release created yet');
if (options.fromCircleCISha1){
const releaseFromSha1 = await getReleaseFromSha1(process.env['CIRCLE_SHA1']);
console.log(
!!releaseFromSha1 ? releaseFromSha1.tag_name : 'No release found for this SHA-1'
);
} else {
const latestReleasedTag = await getLatestReleasedTag();
console.log(!!latestReleasedTag ? latestReleasedTag.tag : 'No release created yet');
}
break;

@@ -181,0 +189,0 @@

{
"name": "@aircall/ci-scripts",
"version": "2.4.0",
"version": "2.5.0",
"dependencies": {},

@@ -5,0 +5,0 @@ "main": "ci-scripts.js",

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