Skip to content

Commit

Permalink
0.6.0 Fix makepkg/yay usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nayaverdier committed Oct 29, 2021
1 parent 81dc996 commit a86e9e6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
test:
name: Test Python ${{ matrix.python-version }}
timeout-minutes: 3
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.6.0 2021-10-29

- `aur`: Fix bug negating the condition for using `yay` vs `makepkg`

## 0.5.0 2021-10-28

- Add `--version` option to the CLI to display the Instater version
Expand Down
2 changes: 1 addition & 1 deletion instater/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.6.0
2 changes: 1 addition & 1 deletion instater/tasks/pacman.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _pacman_install(self, packages: List[str]):

def _install(self, packages: List[str]):
if self.aur:
if not shutil.which("yay"):
if shutil.which("yay"):
self._yay_install(packages)
else:
self._makepkg_install(packages)
Expand Down

0 comments on commit a86e9e6

Please sign in to comment.