1
0
Fork 0

adding logging to debug issue

This commit is contained in:
Enoch Riese 2023-02-03 23:42:01 -06:00
parent 251785b5c0
commit c366633641

View file

@ -16,6 +16,7 @@ const oldDepsRaw = readFileSync(depsFile, { encoding: 'utf8' })
// we get the branch name handed to us by the github action,
// and it has all the info we need about the dependency being updated
const branchName = process.argv[2]
console.log('processing updates from ', branchName)
const versionRgx = /\d+\.\d+\.\d+$/
const dependencyVersion = branchName.match(versionRgx)[0]
const dependency = branchName