Skip to content

Commit

Permalink
fix: use env var NPM_REGISTRY_URL to determine cur version
Browse files Browse the repository at this point in the history
  • Loading branch information
beatthat committed Feb 13, 2020
1 parent 03ebdb0 commit e89231b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merge-release-run.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { promisify } = require('util')

const getlog = promisify(git.log.bind(git))

const get = bent('json', 'https://registry.npmjs.org/')
const get = bent('json', process.env.NPM_REGISTRY_URL || 'https://registry.npmjs.org/')

const event = JSON.parse(fs.readFileSync('/github/workflow/event.json').toString())

Expand Down

0 comments on commit e89231b

Please # to comment.