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

gradle-semantic-release-plugin

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gradle-semantic-release-plugin - npm Package Compare versions

Comparing version 1.9.2 to 1.10.0

1

lib/gradle.d.ts

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { Signale } from "signale";

@@ -3,0 +2,0 @@ /**

24

lib/gradle.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.publishArtifact = exports.buildOptions = exports.getVersion = exports.getTaskToPublish = exports.getCommand = void 0;
exports.getCommand = getCommand;
exports.getTaskToPublish = getTaskToPublish;
exports.getVersion = getVersion;
exports.buildOptions = buildOptions;
exports.publishArtifact = publishArtifact;
const child_process_1 = require("child_process");

@@ -36,3 +40,2 @@ const fs_1 = require("fs");

}
exports.getCommand = getCommand;
/**

@@ -67,2 +70,12 @@ * @param {string} cwd the path of current working directory

}
else if (line.startsWith("artifactoryPublish -")) {
// Plugins Gradle Artifactory Plugin and Maven Publish Plugin are often used together
if (tasks.length !== 0 && tasks[0] !== "publish") {
reject(new Error(ERROR_MULTIPLE_PLUGIN));
}
if (tasks.length !== 0 && tasks[0] === "publish") {
logger.info(INFO_ARTIFACTORY);
}
tasks = ["artifactoryPublish"];
}
else if (line.startsWith("publish -")) {

@@ -72,2 +85,3 @@ // Plugins Gradle Artifactory Plugin and Maven Publish Plugin are often used together

tasks[0] !== "artifactoryDeploy" &&
tasks[0] !== "artifactoryPublish" &&
tasks[0] !== "publishPlugins" &&

@@ -77,3 +91,3 @@ tasks[0] !== "publishToSonatype") {

}
if (tasks.length != 0 && tasks[0] === "artifactoryDeploy") {
if (tasks.length != 0 && (tasks[0] === "artifactoryDeploy" || tasks[0] === "artifactoryPublish")) {
logger.info(INFO_ARTIFACTORY);

@@ -133,3 +147,2 @@ }

}
exports.getTaskToPublish = getTaskToPublish;
/**

@@ -169,3 +182,2 @@ * @param {string} cwd the path of current working directory

}
exports.getVersion = getVersion;
function buildOptions(env) {

@@ -183,3 +195,2 @@ const options = [];

}
exports.buildOptions = buildOptions;
function publishArtifact(cwd, env, logger) {

@@ -210,2 +221,1 @@ return new Promise(async (resolve, reject) => {

}
exports.publishArtifact = publishArtifact;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateVersion = void 0;
exports.updateVersion = updateVersion;
exports.default = prepare;
const fs_1 = require("fs");

@@ -25,3 +26,2 @@ const path_1 = require("path");

}
exports.updateVersion = updateVersion;
async function prepare(pluginConfig, context) {

@@ -36,2 +36,1 @@ const { cwd, env, nextRelease } = context;

}
exports.default = prepare;
{
"name": "gradle-semantic-release-plugin",
"version": "1.9.2",
"version": "1.10.0",
"description": "Automated release management for Gradle project",

@@ -5,0 +5,0 @@ "main": "lib/index.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