Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: release 2.0.0 #328

Merged
merged 1 commit into from
Jul 14, 2022
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
2 changes: 1 addition & 1 deletion .pre-commit-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo INFO: building Alejandra
nix-build \
--attr ${system} \
--out-link result-alejandra \
https://github.com/kamadorueda/alejandra/tarball/1.5.0
https://github.com/kamadorueda/alejandra/tarball/2.0.0

echo INFO: running Alejandra:
result-alejandra/bin/alejandra -- -q "${@}"
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.
-->

## [2.0.0] - 2022-07-13

### Added

- A [Style Guide](./STYLE.md),
Expand Down Expand Up @@ -639,7 +641,8 @@ Types of changes

---

[unreleased]: https://github.com/kamadorueda/alejandra/compare/1.5.0...HEAD
[unreleased]: https://github.com/kamadorueda/alejandra/compare/2.0.0...HEAD
[2.0.0]: https://github.com/kamadorueda/alejandra/compare/1.5.0...2.0.0
[1.5.0]: https://github.com/kamadorueda/alejandra/compare/1.4.0...1.5.0
[1.4.0]: https://github.com/kamadorueda/alejandra/compare/1.3.0...1.4.0
[1.3.0]: https://github.com/kamadorueda/alejandra/compare/1.2.0...1.3.0
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.

18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ Please visit:

You can download a binary for your platform:

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

Make it executable (`$ chmod +x`)
and run Alejandra with:
Expand All @@ -141,13 +141,13 @@ Please visit: [search.nixos.org/packages?query=alejandra](https://search.nixos.o
- Nix stable:

```bash
$ nix-env -ivf https://github.com/kamadorueda/alejandra/tarball/1.5.0
$ nix-env -ivf https://github.com/kamadorueda/alejandra/tarball/2.0.0
```

- Nix with [Flakes](https://nixos.wiki/wiki/Flakes):

```bash
$ nix profile install github:kamadorueda/alejandra/1.5.0
$ nix profile install github:kamadorueda/alejandra/2.0.0
```

Then run Alejandra with:
Expand All @@ -164,7 +164,7 @@ $ alejandra --help
let
alejandra =
(import (builtins.fetchTarball {
url = "https://github.com/kamadorueda/alejandra/tarball/1.5.0";
url = "https://github.com/kamadorueda/alejandra/tarball/2.0.0";
sha256 = "0000000000000000000000000000000000000000000000000000";
}) {})
.outPath;
Expand All @@ -180,7 +180,7 @@ $ alejandra --help
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";

alejandra.url = "github:kamadorueda/alejandra/1.5.0";
alejandra.url = "github:kamadorueda/alejandra/2.0.0";
alejandra.inputs.nixpkgs.follows = "nixpkgs";
};

Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
outputs = inputs: let
commit = inputs.self.shortRev or "dirty";
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
version = "1.5.0+${builtins.substring 0 8 date}.${commit}";
version = "2.0.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 = "1.5.0"
version = "2.0.0"

[profile.release]
lto = true
Expand Down
2 changes: 1 addition & 1 deletion integrations/pre-commit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ with contents:
```yaml
repos:
- repo: https://github.com/kamadorueda/alejandra
rev: 1.5.0
rev: 2.0.0
# Choose either the 'alejandra' or 'alejandra-system' hook
# depending on what pre-requisites you have:
hooks:
Expand Down
2 changes: 1 addition & 1 deletion integrations/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@
"type": "git",
"url": "https://github.com/kamadorueda/alejandra"
},
"version": "1.5.0"
"version": "2.0.0"
}
2 changes: 1 addition & 1 deletion src/alejandra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ edition = "2021"
license = "Unlicense"
name = "alejandra"
repository = "https://github.com/kamadorueda/alejandra"
version = "1.5.0"
version = "2.0.0"
2 changes: 1 addition & 1 deletion src/alejandra/src/version.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/// The version of Alejandra.
pub const VERSION: &str = "1.5.0";
pub const VERSION: &str = "2.0.0";
2 changes: 1 addition & 1 deletion src/alejandra_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ edition = "2021"
license = "Unlicense"
name = "alejandra_cli"
repository = "https://github.com/kamadorueda/alejandra"
version = "1.5.0"
version = "2.0.0"