Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ that oclif makes.
The CLI uses a branch-based release process. To create a release:

1. `git fetch origin main`
2. `git switch main`
3. `git pull origin main`
4. `git switch -c release-{version}` (e.g., `release-1.2.3`)
5. Manually bump version number in package.json
6. `npm i` to update package-lock
7. `npx oclif manifest && npm run readme` to update readme
Comment thread
KLongmuirHD marked this conversation as resolved.
8. `git add . && git commit -m "chore: release {version}"` (e.g., `chore: release 1.2.3`)
9. `git push -u origin release-{version}`
10. Create PR into main
1. `git switch main`
1. `git pull origin main`
1. `git switch -c release-{version}` (e.g., `release-1.2.3`)
1. `npm version <newversion> --no-git-tag-version`
1. replace `<newversion>` with a valid npm version term, or a specific semver
1. For beta use, `npm version prerelease --no-git-tag-version`
1. `git add . && git commit -m "chore: release {version}"` (e.g., `chore: release 1.2.3`)
1. `git push -u origin release-{version}`
1. Create PR into main

#### Push a tag

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $ npm install -g @herodevs/cli@beta
$ hd COMMAND
running command...
$ hd (--version)
@herodevs/cli/2.0.0-beta.7 darwin-arm64 node-v22.18.0
@herodevs/cli/2.0.0-beta.8 darwin-arm64 node-v22.18.0
$ hd --help [COMMAND]
USAGE
$ hd COMMAND
Expand Down Expand Up @@ -121,7 +121,7 @@ EXAMPLES
$ hd scan eol --json
```

_See code: [src/commands/scan/eol.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.7/src/commands/scan/eol.ts)_
_See code: [src/commands/scan/eol.ts](https://github.com/herodevs/cli/blob/v2.0.0-beta.8/src/commands/scan/eol.ts)_

## `hd update [CHANNEL]`

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@herodevs/cli",
"version": "2.0.0-beta.7",
"version": "2.0.0-beta.8",
"author": "HeroDevs, Inc",
"bin": {
"hd": "./bin/run.js"
Expand Down
Loading