Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and salamaashoush committed May 28, 2024
1 parent 8038a4c commit db662e6
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 13 deletions.
5 changes: 0 additions & 5 deletions .changeset/breezy-pans-cheat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pretty-nails-tan.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# pactup

## 0.2.9

### Patch Changes

- [`21d6fc5`](https://github.com/kadena-community/pactup/commit/21d6fc558a40b523e9ff555e064d5e89a9332248) Thanks [@salamaashoush](https://github.com/salamaashoush)! - fix: print correct version when using current subcommand

- [`8038a4c`](https://github.com/kadena-community/pactup/commit/8038a4c0d226a3478015c828526c0a47dbaf04d3) Thanks [@salamaashoush](https://github.com/salamaashoush)! - feat: `pactup which` command to print version path

## 0.2.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pactup"
version = "0.2.8"
version = "0.2.9"
edition = "2021"
license = "GPL-3.0"
publish = true
Expand Down
59 changes: 59 additions & 0 deletions docs/command.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Commands:
current Print the current Pact version
exec Run a command within pactup context
uninstall Uninstall a Pact version
which Print the path to installed Pact version
help Print this message or the help of the given subcommand(s)
Options:
Expand Down Expand Up @@ -615,6 +616,9 @@ Print the current Pact version
Usage: pactup current [OPTIONS]
Options:
-p, --path
--pact-4x-repo <PACT_4X_REPO>
<https://github.com/kadena-io/pact>
Expand Down Expand Up @@ -734,6 +738,61 @@ Arguments:
[VERSION]
Options:
--pact-4x-repo <PACT_4X_REPO>
<https://github.com/kadena-io/pact>
[env: PACTUP_PACT4X_REPO]
[default: kadena-io/pact]
--pact-5x-repo <PACT_5X_REPO>
<https://github.com/kadena-io/pact>
[env: PACTUP_PACT5X_REPO]
[default: kadena-io/pact-5]
--pact-dir <BASE_DIR>
The root directory of pact installations
[env: PACTUP_PACT_DIR]
--log-level <LOG_LEVEL>
The log level of pactup commands
[env: PACTUP_LOGLEVEL]
[default: info]
[possible values: quiet, error, info]
--arch <ARCH>
Override the architecture of the installed pact binary. Defaults to arch of pactup binary
[env: PACTUP_ARCH]
--version-file-strategy <VERSION_FILE_STRATEGY>
A strategy for how to resolve the Pact version. Used whenever `pactup use` or `pactup install` is called without a version, or when `--use-on-cd` is configured on evaluation
[env: PACTUP_VERSION_FILE_STRATEGY]
[default: local]
Possible values:
- local: Use the local version of Node defined within the current directory
- recursive: Use the version of Node defined within the current directory and all parent directories
-h, --help
Print help (see a summary with '-h')
```

# `pactup which`

```
Print the path to installed Pact version
Usage: pactup which [OPTIONS] [VERSION]
Arguments:
[VERSION]
Options:
--pact-4x-repo <PACT_4X_REPO>
<https://github.com/kadena-io/pact>
Expand Down
2 changes: 1 addition & 1 deletion docs/pactup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pactup",
"version": "0.2.8",
"version": "0.2.9",
"repository": {
"type": "git",
"url": "git@github.com:kadena-community/pactup.git"
Expand Down

0 comments on commit db662e6

Please sign in to comment.