Skip to content

Commit

Permalink
chore: merge pull request #20 from websublime/fix/release-as
Browse files Browse the repository at this point in the history
fix: release as snapshot for any branch except main
  • Loading branch information
miguelramos committed Sep 19, 2024
2 parents 0b37021 + 84ec19f commit b75ae7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Miguel Ramos <miguel.ramos@websublime.dev>"]
edition = "2021"
name = "websublime_workspace-tools"
version = "1.0.0"
version = "1.0.1"
exclude = ["tests/*", "examples/*", "node_modules/*", "target/*"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -17,7 +17,7 @@ napi = { version = "2.16.10", default-features = false, features = [
"serde-json",
"tokio_rt",
] }
workspace-node-tools = { version = "2.0.0", features = ["napi", "napi-derive"] }
workspace-node-tools = { version = "2.0.1", features = ["napi", "napi-derive"] }

[build-dependencies]
napi-build = "2"
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ This package offer a set of functions to retrieve information about the monorepo
| `getConventionalForPackage(package_info: PackageInfo, no_fetch_all?: boolean cwd?: string, conventional_options?: ConventionalPackageOptions): ConventionalPackage` | Get the conventional commits for a particular package, changelog output and package info. |
| `getBumps(options: BumpOptions): Array<BumpPackage>` | Output bumps version for packages and it's dependencies |
| `initChanges(cwd?: string, change_options?: ChangesOptions): ChangesFileData` | Creat changes file or retrieve is data if already exist |
| `add_change(change: Change, cwd?: string): boolean` | Adds a new change to the change file |
| `remove_change(branch_name: String, cwd?: string): boolean` | Removes the change from the changes files. |
| `change_exist(branch_name: string, packages_name: Array<string>, cwd?: string): boolean` | Check if change already exist. |
| `get_change(branch_name: string, cwd?: string): Array<Change>` | Get the list of changes for the branch. |
| `get_changes(cwd?: string): Changes` | Get all changes. |
| `get_package_change(package_name: string, branch: string, cwd?: string): Changes` | Get a change by package name. |
| `changes_file_exist(cwd?: string): boolean` | Check if `.changes.json` file exist |
| `addChange(change: Change, cwd?: string): boolean` | Adds a new change to the change file |
| `removeChange(branch_name: String, cwd?: string): boolean` | Removes the change from the changes files. |
| `changeExist(branch_name: string, packages_name: Array<string>, cwd?: string): boolean` | Check if change already exist. |
| `getChange(branch_name: string, cwd?: string): Array<Change>` | Get the list of changes for the branch. |
| `getChanges(cwd?: string): Changes` | Get all changes. |
| `getPackageChange(package_name: string, branch: string, cwd?: string): Changes` | Get a change by package name. |
| `changesFileExist(cwd?: string): boolean` | Check if `.changes.json` file exist |

## Develop requirements

Expand Down

0 comments on commit b75ae7d

Please sign in to comment.