Skip to content

Commit

Permalink
release: 0.0.5-prerelease.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleygwilliams committed Mar 7, 2023
1 parent b71d6e3 commit 1cc4c96
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 10 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# Version 0.0.5 (2023-03-07)

This is a bug-fix release for an issue with cross-platform line endings. Specifically
folks reported in [#181] that they were seeing the Shell installer (for Mac and Linux)
be generated with mixed CRLF and LF line endings, which was causing both functionality
and development issues (git churn).

For those unfamiliar- the line endings on Windows machines are different than those
on Mac and Linux ones and it can cause a lot of unfortunate chaos.

There are 2 styles of control characters to mark a line break in a text file:

- `LF`, (`\n`), Linux/Mac: `LF` stands for "Line Feed"
- `CRLF`, (`\r\n`), Windows: `CR` stands for "Carriage Return"

The presence of CRLF line endings in a shell script will cause issues. Similarly LF
line endings in a powershell script will cause issues. In some cases, users have
had shell scripts generate with *some* CRLF line endings and so we are trying to
fix that :)

[181]: https://github.com/axodotdev/cargo-dist/issues/181

# Version 0.0.4 (2023-03-03)

This is a smaller release than originally planned to get some platform support that was blocking folks out the door. Features that were originally planned for this one will ideally be part of the next release.
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.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tag-name = "v{{version}}"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.0.4-prerelease.3"
cargo-dist-version = "0.0.4"
# The preferred Rust toolchain to use in CI (rustup toolchain syntax)
rust-toolchain-version = "1.67.1"
# CI backends to support (see 'cargo dist generate-ci')
Expand Down
4 changes: 1 addition & 3 deletions cargo-dist-schema/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cargo-dist-schema"
description = "Schema information for cargo-dist's dist-manifest.json"
version = "0.0.4"
version = "0.0.5-prerelease.1"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/axodotdev/cargo-dist"
Expand All @@ -12,8 +12,6 @@ exclude = [
"tests/",
]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
camino = "1.1.1"
schemars = "0.8.11"
Expand Down
6 changes: 2 additions & 4 deletions cargo-dist/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cargo-dist"
description = "Shippable application packaging for Rust"
version = "0.0.4"
version = "0.0.5-prerelease.1"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/axodotdev/cargo-dist"
Expand All @@ -21,8 +21,6 @@ required-features = ["cli"]
default = ["cli"]
cli = ["clap", "tracing-subscriber", "miette/fancy", "serde_json", "console", "clap-cargo"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
# Features only used by the cli
clap = { version = "4.0.0", optional = true, features = ["derive"] }
Expand All @@ -32,7 +30,7 @@ console = { version = "0.15.1", optional = true }
clap-cargo = { version = "0.10.0", optional = true }

# Features used by the cli and library
cargo-dist-schema = { version = "=0.0.4", path = "../cargo-dist-schema" }
cargo-dist-schema = { version = "=0.0.5-prerelease.1", path = "../cargo-dist-schema" }
miette = { version = "5.3.0" }
thiserror = "1.0.35"
tracing = { version = "0.1.36", features = ["log"] }
Expand Down

0 comments on commit 1cc4c96

Please sign in to comment.