Skip to content

Commit

Permalink
feat: ✨ release with local cli
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Jun 21, 2022
1 parent fbaf70e commit ac296cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:
run: pnpm run build

- name: Release
run: sh ./scripts/release
run: node ./packages/cli/index.js --debug
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
GIT_AUTHOR_NAME: srm-bot
Expand Down
3 changes: 0 additions & 3 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ function release(
const dirname = path.dirname(filename)
const srmPkgJSON = getManifest(path.resolve(dirname, `../package.json`))

logger.info(srmOptions)
logger.info(context.env)

try {
logger.info(`Running srm version ${srmPkgJSON.version}`)
logger.info(`Load packages from: ${context.cwd}`)
Expand Down

0 comments on commit ac296cd

Please sign in to comment.