Skip to content

Commit

Permalink
prepare for Alpha 13 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunicorn committed Nov 10, 2021
1 parent 33d7767 commit 8e89b66
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-unleash"
version = "1.0.0-alpha.12"
version = "1.0.0-alpha.13"
authors = ["Benjamin Kampmann <ben@gnunicorn.org>"]
edition = "2018"
license = "GPL-3.0"
Expand Down
15 changes: 8 additions & 7 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ The format is based on [Keep a Changelog].

[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## Unreleased

- Update to cargo 0.52 and semver 1.0 – support for `edition = "2021"`
- New [version command now takes new `bump-to-dev`](https://github.com/paritytech/cargo-unleash/pull/47) that bumps to the next breaking version and appends a `-dev` pre-release value
- Use saved credentials from `cargo login`
- Do not fail if package selections turns up 0 (unless `--empty-is-failure` is given)
## 1.0.0-alpha.13 - 2021-10-11
- Update to cargo 0.57 and semver 1.0 – support for `edition = "2021"`
- Breaking (UX): Not finding any package with the selections given is not considered an error anymore, but means the process ends successfully. If you want the old behaviour back where no package matching the criteria gives you a non-zero exit code add the `--empty-is-failure` cli switch to the call.
- New: [`version` subcommand `bump-to-dev`](https://github.com/paritytech/cargo-unleash/pull/47) bumps to the next breaking version and appends a `-dev` pre-release value
- New: `--changed-since=GIT_REF`-package selection param allows you to specify only crates that have been touched between the current git head and the given `$GIT_REF` (e.g. your current branch and `master`) - very useful to check only crates changed in a PR. See `--help` for more information.
- Fix: Use saved credentials from `cargo login`, fixes #35
- Fix: A new end-to-end test suite checks that the params work as expected, still needs more tests but it's a start.

## 1.0.0-alpha.12 - 2021-05-18
- New [version command now takes new `bump-breaking`](https://github.com/paritytech/cargo-unleash/pull/37) that bumps to the next breaking version
- New [version command now takes new `bump-breaking`](https://github.com/paritytech/cargo-unleash/pull/37) that bumps to the next breaking version
- Fix: [dependency injection now uses localised packages exclusively](https://github.com/paritytech/cargo-unleash/pull/39), fixing the problem of leaking the local workspace path's into the build when only releasing a subset of crates
- Fix: Updated to latest dependencies, cargo `0.53.0`.

Expand Down
20 changes: 18 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cargo [unleash em 🐉](https://github.com/gnunicorn/cargo-unleash)
# cargo [unleash em 🐉](https://github.com/paritytech/cargo-unleash)

`cargo` release automation tooling for _massiv mono-repo_. Developed primarily for [Parity Substrate](https://github.com/paritytech/substrate).

Expand All @@ -10,7 +10,7 @@ see [Changelog.md](./Changelog.md)

Use `cargo install` to install:
```bash
cargo install cargo-unleash --version 1.0.0-alpha.11
cargo install cargo-unleash --version 1.0.0-alpha.13
```

## Usage
Expand Down Expand Up @@ -106,6 +106,9 @@ FLAGS:
Do not disable dev-dependencies
By default we disable dev-dependencies before the run.
--include-pre-deps
Even if not selected by default, also include depedencies with a pre (cascading)
--no-check
dry run
Expand All @@ -117,6 +120,12 @@ OPTIONS:
--owner <add-owner>
Ensure we have the owner set as well
-c, --changed-since <changed-since>
Automatically detect the packages, which changed compared to the given git commit.
Compares the current git `head` to the reference given, identifies which files changed and attempts to
identify the packages and its dependents through that mechanism. You can use any `tag`, `branch` or
`commit`, but you must be sure it is available (and up to date) locally.
-i, --ignore-pre-version <ignore-pre-version>...
Ignore version pre-releases
Expand Down Expand Up @@ -144,6 +153,11 @@ OPTIONS:
cargo-unleash em-dragons --ignore-pre-version dev
```
**Check if a PR can be released** (checking only changes in the PR compared to `main`)
```bash
cargo-unleash check --changed-since=main
```
**Release all crates** not having `test` in the name
```bash
cargo-unleash em-dragons --skip test
Expand All @@ -164,6 +178,8 @@ cargo-unleash version bump-pre
_You are using the tooling and want to be mentioned here–[create an issue](https://github.com/gnunicorn/cargo-unleash/issues/new)_
- [Parity Substrate](https://github.com/paritytech/substrate) automatic releasing via [Gitlab CI](https://github.com/paritytech/substrate/blob/master/.gitlab-ci.yml)
- [Parity SS58-registry](https://github.com/paritytech/ss58-registry) automatic releasing via [Gitlab CI](https://github.com/paritytech/ss58-registry/blob/main/.gitlab-ci.yml)
- [Juice](https://github.com/spearow/juice)
## License & Credits
Expand Down

0 comments on commit 8e89b66

Please sign in to comment.