Skip to content

Commit

Permalink
fix(ci): change release-please to bump version in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyroussel committed Oct 28, 2023
1 parent d36d73d commit d4a336b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
with:
release-type: simple
package-name: shadow-nix
extra-files: |
README.md
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` :

<!-- x-release-please-start-version -->
```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 = {
Expand All @@ -52,15 +54,17 @@ In your `configuration.nix` :
};
}
```
<!---x-release-please-end-->

#### As a home-manager package

In your `home.nix` :

<!-- x-release-please-start-version -->
```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 = {
Expand All @@ -70,6 +74,7 @@ In your `home.nix` :
};
}
```
<!-- x-release-please-end -->

## 2. Configuration

Expand Down

0 comments on commit d4a336b

Please sign in to comment.