Skip to content

Commit fd9ece6

Browse files
taskfile fixed for ci
1 parent afa8fe3 commit fd9ece6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Taskfile.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,17 @@ tasks:
8080
deps:
8181
- build
8282
cmds:
83-
- cp ops $HOME/.local/bin
83+
- mkdir -p $HOME/.local/bin
84+
- cp -v ops $HOME/.local/bin
8485
- |
8586
if ! which ops | grep $HOME/.local/bin
8687
then
8788
echo "$HOME/.local/bin is not in the path - adding it"
8889
echo 'export PATH="$HOME/.local/bin:$PATH"' >>$HOME/.bashrc
8990
echo 'export PATH="$HOME/.local/bin:$PATH"' >>$HOME/.zshrc
90-
echo please restart your terminal to find ops in your path
91+
echo to find ops in the path, please either source your .bashrc or .zshrc or restart your terminal
92+
else
93+
echo installed ops v$(ops -version)
9194
fi
9295
9396

0 commit comments

Comments
 (0)