Skip to content

Commit

Permalink
fix: linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Alvaro Jose committed Aug 14, 2023
1 parent 743410b commit 1eba356
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/merge-release-run.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ const srcPackageDir = path.join(process.cwd(), process.env.SRC_PACKAGE_DIR || '.
console.log(' using deploy directory : ' + deployDir)
console.log('using src directory (package.json) : ' + srcPackageDir)

const access = process.env.NPM_PRIVATE==='true' ? 'restricted' : 'public'
const access = process.env.NPM_PRIVATE === 'true' ? 'restricted' : 'public'

console.log('deploy to NPM with access : ' + access)

let pkg = require(path.join(deployDir, 'package.json'))

const run = async () => {
Expand Down Expand Up @@ -97,7 +97,7 @@ const run = async () => {
exec(`git checkout package.json`) // cleanup
exec(`git tag ${newVersion}`)
exec(`echo "version=${newVersion}" >> $GITHUB_OUTPUT`)

const remote = `https://${process.env.GITHUB_ACTOR}:${process.env.GITHUB_TOKEN}@github.com/${process.env.GITHUB_REPOSITORY}.git`
exec(`git push ${remote} --tags`)
}
Expand Down
8 changes: 4 additions & 4 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1eba356

Please sign in to comment.