WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 9d939e7

Browse files
authored
Release v0.5.0 (#305)
1 parent 2594316 commit 9d939e7

File tree

7 files changed

+17
-9
lines changed

7 files changed

+17
-9
lines changed

CONTRIBUTING.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ surprises.
1616

1717
# What kinds of contributions are needed?
1818

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

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

3232

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

363363
To cut a release:
364364

365+
* Ensure the `flake.lock`, `Cargo.lock`, and Rust dependencies are up-to-date with the following:
366+
+ `nix flake update --commit-lock-file`
367+
+ `cargo update` (and commit)
368+
+ `cargo outdated`
365369
* Create a release branch from `main` (`git checkout -b release-v0.0.1`)
366370
* Remove the `-unreleased` from the `version` field in `Cargo.toml` and `flake.nix`
371+
* Ensure the VM / container tests still pass with the following:
372+
+ `nix flake check -L`
373+
+ `nix build .#hydraJobs.container-test.all.x86_64-linux.all -L`
374+
+ `nix build .#hydraJobs.vm-test.all.x86_64-linux.all -L`
367375
* Push the branch, create a PR ("Release v0.0.1")
368376
* Once the PR tests pass and it has been reviewed, merge it
369377
* `git pull` on the `main` branch
@@ -376,7 +384,7 @@ To cut a release:
376384
* Undraft the release
377385
* Once you are certain the release is good, `cargo publish` it
378386
+ **Warning:** While you can re-release Github releases, it is not possible to do the same on `crates.io`
379-
* 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`)
387+
* 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`)
380388

381389
# Who maintains `nix-installer` and why?
382390

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "nix-installer"
33
description = "The Determinate Nix Installer"
4-
version = "0.4.0"
4+
version = "0.5.0"
55
edition = "2021"
66
resolver = "2"
77
license = "LGPL-2.1"

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
};
6666
sharedAttrs = {
6767
pname = "nix-installer";
68-
version = "0.4.0";
68+
version = "0.5.0";
6969
src = builtins.path {
7070
name = "nix-installer-source";
7171
path = self;

tests/fixtures/linux/linux.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.4.0",
2+
"version": "0.5.0",
33
"actions": [
44
{
55
"action": {

tests/fixtures/linux/steam-deck.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.4.0",
2+
"version": "0.5.0",
33
"actions": [
44
{
55
"action": {

tests/fixtures/macos/macos.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.4.0",
2+
"version": "0.5.0",
33
"actions": [
44
{
55
"action": {

0 commit comments

Comments
 (0)