diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index eb2e3b5..3462cfd 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -23,7 +23,7 @@ jobs: - run: git fetch origin master - run: git checkout master - run: git add package.json - - run: git commit --messsage "release $TAG" + - run: git commit --message "release $TAG" env: TAG: ${{ github.event.release.tag_name }} - run: git remote add deploy https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.git diff --git a/bin/cli.js b/bin/cli.js index 727699e..2aca40a 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -4,6 +4,7 @@ const os = require('os') const path = require('path') const { exec } = require('child_process') const minimist = require('minimist') +const packageJson = require('../package.json') const menu = require('../src') const obfuscateState = require('../src/util/obfuscate') const { scheduleCleanup } = require('../src/schedule-cleanup') @@ -20,7 +21,9 @@ const STDOUT_DEFAULT = false const args = minimist(process.argv.slice(2)) if (args.help) { console.log( - `Usage: bitwarden-dmenu [options] + `bitwarden-dmenu v${packageJson.version} + +Usage: bitwarden-dmenu [options] The DMENU_PATH environment variable can be used to point to an alternative dmenu implementation. Defaults to 'dmenu'.