build: Simplify
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
e7ef620e80
commit
eb8e643804
1 changed files with 1 additions and 5 deletions
6
justfile
6
justfile
|
@ -27,11 +27,7 @@ build-release tag version os arch:
|
|||
GOOS="{{os}}" GOARCH="{{arch}}" just build
|
||||
|
||||
mkdir -p yr-{{version}}
|
||||
cp {{builddir}}/yr yr-{{version}}/
|
||||
|
||||
if [ {{os}} = windows ]; then \
|
||||
mv yr-{{version}}/yr{,.exe}; \
|
||||
fi
|
||||
cp {{builddir}}/yr* yr-{{version}}/
|
||||
|
||||
tar czf yr-{{version}}-{{os}}-{{arch}}.tar.gz yr-{{version}}
|
||||
hut git artifact upload --rev {{tag}} yr-{{version}}-{{os}}-{{arch}}.tar.gz
|
||||
|
|
Loading…
Reference in a new issue