Skip to content

Commit

Permalink
Update gothub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai authored Apr 20, 2024
1 parent b07734a commit 097c76d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/gothub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ jobs:
GOARCH=amd64 GOOS=linux go build -o gothub_windows_x86_64.exe -ldflags="-X codeberg.org/gothub/gothubs/utils.Branch=$(git rev-parse --abbrev-ref HEAD)"
mv gothub_windows_x86_64.exe ../
mv views/ ../../
mv static/ ../../
cd ../../
tar -czvf gothub_linux_x86_64.tar.gz gothub/gothub_linux_x86_64
zip gothub_windows_x86_64.zip gothub/gothub_windows_x86_64.exe
tar -czvf gothub_linux_x86_64.tar.gz gothub/gothub_linux_x86_64 gothub/views gothub/static
zip gothub_windows_x86_64.zip gothub/gothub_windows_x86_64.exe gothub/views/* gothub/static/*
mv gothub_linux_x86_64.tar.gz binaries/
mv gothub_windows_x86_64.zip binaries/
rm -fr gothub/
Expand Down

0 comments on commit 097c76d

Please sign in to comment.