Skip to content

Commit

Permalink
fix: mv ntfy binary for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
giusdp committed Sep 20, 2023
1 parent 274f350 commit 6628161
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/nuvfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ tasks:
- task: unzip.exe
- curl -L -ccookie.txt -o{{.TGT}}{{.ARC}} {{.SRC}}
- '{{if eq .OS "windows"}}unzip.exe {{.TGT}}{{.ARC}}{{else}}/usr/bin/tar xvzf {{.TGT}}{{.ARC}}{{end}}'
- mv ntfy_2.7.0_{{.OS}}_{{.ARCH}}/{{.TGT}}{{.EXE}} .
- rm -r {{.TGT}}{{.ARC}} ntfy_2.7.0_{{.OS}}_{{.ARCH}}/*
- rmdir ntfy_2.7.0_{{.OS}}_{{.ARCH}}
- '{{if eq .OS "darwin"}} mv ntfy_2.7.0_{{.OS}}_all/{{.TGT}} . {{else}} mv ntfy_2.7.0_{{.OS}}_{{.ARCH}}/{{.TGT}}{{.EXE}} . {{end}}'
- '{{if eq .OS "darwin"}} rm -r {{.TGT}}{{.ARC}} ntfy_2.7.0_{{.OS}}_all/* {{else}} rm -r {{.TGT}}{{.ARC}} ntfy_2.7.0_{{.OS}}_{{.ARCH}}/* {{end}}'
- '{{if eq .OS "darwin"}} rmdir ntfy_2.7.0_{{.OS}}_all {{else}} rmdir ntfy_2.7.0_{{.OS}}_{{.ARCH}} {{end}}'
- rm cookie.txt
status:
- test -e {{.TGT}}{{.EXE}}
Expand Down

0 comments on commit 6628161

Please sign in to comment.