diff --git a/.changeset/thirty-tomatoes-hammer.md b/.changeset/thirty-tomatoes-hammer.md new file mode 100644 index 0000000..3ed3d94 --- /dev/null +++ b/.changeset/thirty-tomatoes-hammer.md @@ -0,0 +1,5 @@ +--- +'@clarigen/cli': patch +--- + +Adds the proper hashbang to the CLI .bin file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b03995e..9666c70 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,8 +33,8 @@ jobs: run: pnpm test - name: Lint run: pnpm lint - - name: Stash changes - run: git stash + # - name: Stash changes + # run: git stash - name: Create Release Pull Request or Publish to npm uses: changesets/action@v1.4.7 with: diff --git a/packages/cli/src/generated/version.ts b/packages/cli/src/generated/version.ts index 902c227..169602d 100644 --- a/packages/cli/src/generated/version.ts +++ b/packages/cli/src/generated/version.ts @@ -1,4 +1,4 @@ // This file is automatically generated from the // version in `package.json` -export const version = '2.0.1'; +export const version = '2.0.4'; diff --git a/packages/cli/src/run-cli.ts b/packages/cli/src/run-cli.ts index ea560b8..6dfec28 100644 --- a/packages/cli/src/run-cli.ts +++ b/packages/cli/src/run-cli.ts @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import { Cli, Builtins } from 'clipanion'; import { SessionInfoCommand } from './commands/session-info'; import { DefaultCommand } from './commands/default-command';