Skip to content

Commit

Permalink
add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
aslonnie committed Aug 12, 2023
1 parent 4ed9b35 commit 5245d3e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/tags
/.vscode
/_release
.DS_Store

__pycache__
Expand Down
12 changes: 12 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

set -euxo pipefail

mkdir -p _release
rm -f _release/*

RAYCI_OS="$(go env GOOS)"
RAYCI_ARCH="$(go env GOARCH)"

go build -trimpath -o "_release/rayci-${RAYCI_OS}-${RAYCI_ARCH}" .
go build -trimpath -o "_release/wanda-${RAYCI_OS}-${RAYCI_ARCH}" ./wanda/wanda

0 comments on commit 5245d3e

Please sign in to comment.