Skip to content

Commit

Permalink
feat: Ensure PKGBUILD targets a known stable release
Browse files Browse the repository at this point in the history
Prevents issues when the PKGBUILD doesn't build on master.
  • Loading branch information
donovanglover committed Oct 29, 2023
1 parent 53b8ad7 commit cd6ee98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Alternatively, use `nix run nixpkgs#hyprdim` to start hyprdim without installing
I don't use Arch Linux anymore, but I wrote a PKGBUILD for the `pacman` enjoyers out there. Feel free to add it to the AUR.

```fish
git clone https://github.com/donovanglover/hyprdim && cd hyprdim && makepkg -si
git clone https://github.com/donovanglover/hyprdim -b 2.2.1 && cd hyprdim && makepkg -si
```

### Other distributions
Expand Down
5 changes: 5 additions & 0 deletions tests/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,10 @@ fn current_version_is_used() {
assert!(
readme.contains(&("--tag ".to_owned() + cargo_version.as_str())),
"should have the correct tag version in the README"
);

assert!(
readme.contains(&("-b ".to_owned() + cargo_version.as_str())),
"should have the correct branch version in the README"
)
}

0 comments on commit cd6ee98

Please sign in to comment.