From eb8e643804a87456cf37378b841940ceb5c35217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20H=C3=A5rek=20Andreassen?= Date: Thu, 3 Oct 2024 20:13:01 +0200 Subject: [PATCH] build: Simplify MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tim HĂ„rek Andreassen --- justfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/justfile b/justfile index c02cbde..d8198ca 100644 --- a/justfile +++ b/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