diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4359e1885..3df02820b 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 a75354e42..cf15a416c 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 7d74ca14f..5b2d1e619 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 78bc8682b..375ce37c6 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 4b77d5cdc..f27c6703f 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 b3a75e752..8f0fe4c30 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 2b049d589..1c2fc7f1d 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": {