Comparing version 1.0.14 to 1.1.0
#!/usr/bin/env node | ||
const arg = require('arg'); | ||
const { app } = require('./app/app'); | ||
const { app } = require('./app'); | ||
const DEFAULT_PORT = 7002; | ||
@@ -5,0 +5,0 @@ |
@@ -11,7 +11,4 @@ const { readWorkYML } = require("../utils"); | ||
// "ref": "refs/heads/release", | ||
// 先工具my-ci.yml判断是否触发 | ||
const workConfig = readWorkYML(workName); | ||
const job = matchedJob(workName, args.ref); | ||
console.log('matched!!!!: ', job) | ||
if (!job) return; | ||
// 先拉git再读my-ci.yml判断是否触发 | ||
// const workConfig = readWorkYML(workName); | ||
@@ -32,5 +29,10 @@ let commitId = args.head_commit.id; | ||
`).to('.my-ci/work.log'); | ||
// --- Script ------------------------------------- | ||
// const workConfig = readWorkYML(workName); | ||
// console.log(job.script) | ||
const job = matchedJob(workName, args.ref); | ||
console.log('matched!!!!: ', job) | ||
if (!job) return; | ||
let jobScripts = job.script || []; | ||
@@ -37,0 +39,0 @@ jobScripts.forEach((script) => { |
{ | ||
"name": "my-ci", | ||
"version": "1.0.14", | ||
"version": "1.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10397