Skip to content

Commit

Permalink
Release v0.5.0 (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-h authored Mar 6, 2023
1 parent 2594316 commit 9d939e7
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
14 changes: 11 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ surprises.

# What kinds of contributions are needed?

Riff can benefit from all kinds of contributions:
`nix-installer` can benefit from all kinds of contributions:

* Bug reports
* Code improvements
Expand All @@ -27,7 +27,7 @@ Riff can benefit from all kinds of contributions:
* Graphical/visual asset improvement
* Kind words or recommendation on your own site, repo, stream, or social media
account
* Onboarding others to using Riff
* Onboarding others to using `nix-installer`


# What are the expectations you can have of the maintainers?
Expand Down Expand Up @@ -362,8 +362,16 @@ If you are working on the `action.yml` There is an integration test for `action.

To cut a release:

* Ensure the `flake.lock`, `Cargo.lock`, and Rust dependencies are up-to-date with the following:
+ `nix flake update --commit-lock-file`
+ `cargo update` (and commit)
+ `cargo outdated`
* Create a release branch from `main` (`git checkout -b release-v0.0.1`)
* Remove the `-unreleased` from the `version` field in `Cargo.toml` and `flake.nix`
* Ensure the VM / container tests still pass with the following:
+ `nix flake check -L`
+ `nix build .#hydraJobs.container-test.all.x86_64-linux.all -L`
+ `nix build .#hydraJobs.vm-test.all.x86_64-linux.all -L`
* 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
Expand All @@ -376,7 +384,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` and `flake.nix`, adding `-unreleased` at the end (`v0.0.2-unreleased`)
* Create a PR bumping the version up one minor in the `Cargo.toml`, `flake.nix`, and fixture JSON files, adding `-unreleased` at the end (`v0.0.2-unreleased`)

# Who maintains `nix-installer` and why?

Expand Down
2 changes: 1 addition & 1 deletion 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
@@ -1,7 +1,7 @@
[package]
name = "nix-installer"
description = "The Determinate Nix Installer"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
resolver = "2"
license = "LGPL-2.1"
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
};
sharedAttrs = {
pname = "nix-installer";
version = "0.4.0";
version = "0.5.0";
src = builtins.path {
name = "nix-installer-source";
path = self;
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/linux/linux.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.0",
"version": "0.5.0",
"actions": [
{
"action": {
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/linux/steam-deck.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.0",
"version": "0.5.0",
"actions": [
{
"action": {
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/macos/macos.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.0",
"version": "0.5.0",
"actions": [
{
"action": {
Expand Down

0 comments on commit 9d939e7

Please sign in to comment.