From d4a336b1d04bd907bc4bd94ea63b7d6ce838b92f Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 29 Oct 2023 00:01:22 +0200 Subject: [PATCH] fix(ci): change release-please to bump version in README.md --- .github/workflows/release-please.yml | 2 ++ README.md | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ee41076..00bc92b 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -17,3 +17,5 @@ jobs: with: release-type: simple package-name: shadow-nix + extra-files: | + README.md diff --git a/README.md b/README.md index 728a72c..997845f 100644 --- a/README.md +++ b/README.md @@ -35,14 +35,16 @@ Note that the ref value (`v*.*.*`) should point to the lastest release. Checkout If you want the latest package derivation, use `ref = "main"` instead. + #### As a system package In your `configuration.nix` : + ```nix { imports = [ - (fetchGit { url = "https://github.com/anthonyroussel/shadow-nix"; ref = "refs/tags/v1.3.2"; } + "/import/system.nix") + (fetchGit { url = "https://github.com/anthonyroussel/shadow-nix"; ref = "refs/tags/v1.4.0"; } + "/import/system.nix") ]; programs.shadow-client = { @@ -52,15 +54,17 @@ In your `configuration.nix` : }; } ``` + #### As a home-manager package In your `home.nix` : + ```nix { imports = [ - (fetchGit { url = "https://github.com/anthonyroussel/shadow-nix"; ref = "refs/tags/v1.3.2"; } + "/import/home-manager.nix") + (fetchGit { url = "https://github.com/anthonyroussel/shadow-nix"; ref = "refs/tags/v1.4.0"; } + "/import/home-manager.nix") ]; programs.shadow-client = { @@ -70,6 +74,7 @@ In your `home.nix` : }; } ``` + ## 2. Configuration