diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4359e18..3df0282 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -251,7 +251,7 @@ If you are working on the `action.yml` There is an integration test for `action. To cut a release: * Create a release branch from `main` (`git checkout -b release-v0.0.1`) -* Remove the `-unreleased` from the `version` field in `Cargo.toml` +* Remove the `-unreleased` from the `version` field in `Cargo.toml` and `flake.nix` * Push the branch, create a PR ("Release v0.0.1") * Once the PR tests pass and it has been reviewed, merge it * `git pull` on the `main` branch @@ -264,7 +264,7 @@ To cut a release: * Undraft the release * Once you are certain the release is good, `cargo publish` it + **Warning:** While you can re-release Github releases, it is not possible to do the same on `crates.io` -* Create a PR bumping the version up one minor in the `Cargo.toml`, adding `-unreleased` at the end (`v0.0.2-unreleased`) +* Create a PR bumping the version up one minor in the `Cargo.toml` and `flake.nix`, adding `-unreleased` at the end (`v0.0.2-unreleased`) # Who maintains `nix-installer` and why? diff --git a/Cargo.lock b/Cargo.lock index a75354e..cf15a41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -881,7 +881,7 @@ dependencies = [ [[package]] name = "nix-installer" -version = "0.0.0-unreleased" +version = "0.0.1" dependencies = [ "async-trait", "atty", diff --git a/Cargo.toml b/Cargo.toml index 7d74ca1..5b2d1e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nix-installer" description = "A `nix` installer" -version = "0.0.0-unreleased" +version = "0.0.1" edition = "2021" resolver = "2" license = "LGPL-2.1" diff --git a/flake.nix b/flake.nix index 78bc868..375ce37 100644 --- a/flake.nix +++ b/flake.nix @@ -63,7 +63,7 @@ }; sharedAttrs = { pname = "nix-installer"; - version = "0.0.0-unreleased"; + version = "0.0.1"; src = builtins.path { name = "nix-installer-source"; path = self; diff --git a/tests/fixtures/darwin/darwin-multi.json b/tests/fixtures/darwin/darwin-multi.json index 4b77d5c..f27c670 100644 --- a/tests/fixtures/darwin/darwin-multi.json +++ b/tests/fixtures/darwin/darwin-multi.json @@ -1,5 +1,5 @@ { - "version": "0.0.0-unreleased", + "version": "0.0.1", "actions": [ { "action": { diff --git a/tests/fixtures/linux/linux-multi.json b/tests/fixtures/linux/linux-multi.json index b3a75e7..8f0fe4c 100644 --- a/tests/fixtures/linux/linux-multi.json +++ b/tests/fixtures/linux/linux-multi.json @@ -1,5 +1,5 @@ { - "version": "0.0.0-unreleased", + "version": "0.0.1", "actions": [ { "action": { diff --git a/tests/fixtures/linux/steam-deck.json b/tests/fixtures/linux/steam-deck.json index 2b049d5..1c2fc7f 100644 --- a/tests/fixtures/linux/steam-deck.json +++ b/tests/fixtures/linux/steam-deck.json @@ -1,5 +1,5 @@ { - "version": "0.0.0-unreleased", + "version": "0.0.1", "actions": [ { "action": {