Skip to content

Commit

Permalink
feat: release 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kamadorueda committed Feb 25, 2022
1 parent 8c5924d commit 26aa434
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 22 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Types of changes
- Security in case of vulnerabilities.
-->

## [0.6.0] - 2022-02-25

### Added

- A `--check` flag, which makes Alejandra emit an exit code of 2
Expand Down Expand Up @@ -269,7 +271,8 @@ Types of changes

---

[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.5.0...HEAD
[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.6.0...HEAD
[0.6.0]: https://github.com/kamadorueda/alejandra/compare/0.5.0...0.6.0
[0.5.0]: https://github.com/kamadorueda/alejandra/compare/0.4.0...0.5.0
[0.4.0]: https://github.com/kamadorueda/alejandra/compare/0.3.1...0.4.0
[0.3.1]: https://github.com/kamadorueda/alejandra/compare/0.3.0...0.3.1
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ You can download a binary for your platform,
make it executable (`$ chmod +x`)
and have fun!

- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-aarch64-unknown-linux-musl)
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-armv6l-unknown-linux-musleabihf)
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-armv7l-unknown-linux-musleabihf)
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-i686-unknown-linux-musl)
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-x86_64-unknown-linux-musl)
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-aarch64-unknown-linux-musl)
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-armv6l-unknown-linux-musleabihf)
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-armv7l-unknown-linux-musleabihf)
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-i686-unknown-linux-musl)
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-x86_64-unknown-linux-musl)

Alternatively there is an automated method for some platforms.
It needs:
Expand Down Expand Up @@ -144,18 +144,18 @@ $ /path/to/alejandra --help
- Nix with [Flakes](https://nixos.wiki/wiki/Flakes):

```bash
$ nix profile install github:kamadorueda/alejandra/0.5.0
$ nix profile install github:kamadorueda/alejandra/0.6.0
```

- Nix stable:

Pick one depending on your platform:

```bash
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.5.0
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.5.0
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.5.0
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.5.0
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.6.0
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.6.0
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.6.0
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.6.0
```

Then run Alejandra with:
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
outputs = inputs: let
commit = inputs.self.shortRev or "dirty";
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
version = "0.5.0+${builtins.substring 0 8 date}.${commit}";
version = "0.6.0+${builtins.substring 0 8 date}.${commit}";

nixpkgsForHost = host:
import inputs.nixpkgs {
Expand Down
4 changes: 2 additions & 2 deletions front/Cargo.lock

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

2 changes: 1 addition & 1 deletion front/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description = "The Uncompromising Nix Code Formatter"
edition = "2021"
name = "alejandra_front"
repository = "https://github.com/kamadorueda/alejandra"
version = "0.5.0"
version = "0.6.0"

[profile.release]
lto = true
Expand Down
2 changes: 1 addition & 1 deletion installers/aarch64-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

releases=https://github.com/kamadorueda/alejandra/releases/download/
target=alejandra-aarch64-unknown-linux-musl
version=0.5.0
version=0.6.0

curl -o alejandra -L "${releases}/${version}/${target}"

Expand Down
2 changes: 1 addition & 1 deletion installers/x86_64-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

releases=https://github.com/kamadorueda/alejandra/releases/download/
target=alejandra-x86_64-unknown-linux-musl
version=0.5.0
version=0.6.0

curl -o alejandra -L "${releases}/${version}/${target}"

Expand Down
2 changes: 1 addition & 1 deletion src/alejandra_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ description = "The Uncompromising Nix Code Formatter"
edition = "2021"
name = "alejandra_cli"
repository = "https://github.com/kamadorueda/alejandra"
version = "0.5.0"
version = "0.6.0"
2 changes: 1 addition & 1 deletion src/alejandra_engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ description = "The Uncompromising Nix Code Formatter"
edition = "2021"
name = "alejandra_engine"
repository = "https://github.com/kamadorueda/alejandra"
version = "0.5.0"
version = "0.6.0"
2 changes: 1 addition & 1 deletion src/alejandra_engine/src/version.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub const VERSION: &str = "0.5.0";
pub const VERSION: &str = "0.6.0";

0 comments on commit 26aa434

Please sign in to comment.