Skip to content

Commit

Permalink
chore(): github action typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
omri lugasi authored and omri lugasi committed Jul 30, 2024
1 parent a09326a commit 3395a8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion github-action-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: echo //registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}} > .npmrc

- name: 'Create Release And Publish'
run: GH_TOKEN=${{secrets.GH_TOKEN}} npx release-toolkit release
run: GH_TOKEN=${{secrets.GH_TOKEN}} npx release-toolkit@latest release

- name: 'Clean up'
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/deployer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class Deployer {
fs.mkdirSync(folderTargetPath)
}

const content = `#!/usr/bin/env sh \n \n npx release-toolkit commit-lint $1`
const content = `#!/usr/bin/env sh \n \n npx release-toolkit@latest commit-lint $1`
const writeAsync = promisify(fs.writeFile)
await writeAsync(targetPath, content)
console.log(
Expand Down

0 comments on commit 3395a8f

Please sign in to comment.