Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #69 from streamdal/dselans/updated-protos-v0.1.18
Browse files Browse the repository at this point in the history
updated protos to v0.1.18
  • Loading branch information
dselans authored Feb 7, 2024
2 parents e776dc4 + 992b008 commit 8477c95
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/onsi/gomega v1.30.0
github.com/pkg/errors v0.9.1
github.com/relistan/go-director v0.0.0-20200406104025-dbbf5d95248d
github.com/streamdal/streamdal/libs/protos v0.1.17
github.com/streamdal/streamdal/libs/protos v0.1.18
github.com/tetratelabs/wazero v1.6.0
golang.org/x/time v0.5.0
google.golang.org/grpc v1.60.1
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ github.com/streamdal/streamdal/libs/protos v0.1.17-0.20240129193545-8d8c941ad631
github.com/streamdal/streamdal/libs/protos v0.1.17-0.20240129193545-8d8c941ad631/go.mod h1:WZ6qCqzJu/9Vn+P5EUMN1hcOWlxN2EHgcsxehylhgJQ=
github.com/streamdal/streamdal/libs/protos v0.1.17 h1:VbG0AQ2qIGVrXwz3/8W6630P2RFtQApZ+fDdyfVuSu8=
github.com/streamdal/streamdal/libs/protos v0.1.17/go.mod h1:WZ6qCqzJu/9Vn+P5EUMN1hcOWlxN2EHgcsxehylhgJQ=
github.com/streamdal/streamdal/libs/protos v0.1.18 h1:aUY614JVKfJsAEPMsLgOGDYtlddcMh0R+tNnuEd77ak=
github.com/streamdal/streamdal/libs/protos v0.1.18/go.mod h1:WZ6qCqzJu/9Vn+P5EUMN1hcOWlxN2EHgcsxehylhgJQ=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
Expand Down
11 changes: 8 additions & 3 deletions init_wasm.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/bin/bash
#!/bin/bash -e

# Step 1: Curl the GitHub API to get the latest release
latest_release=$(curl -s https://api.github.com/repos/streamdal/streamdal/releases/latest)
latest_release=$(curl -s https://api.github.com/repos/streamdal/streamdal/releases)

# Step 2: Extract the "browser_download_url" from the JSON response
download_url=$(echo "$latest_release" | grep -o 'https://.*\.zip')
download_url=$(echo "${latest_release}" | grep -i wasm | grep -o 'https://.*\.zip' | head -n 1)

if [ -z "$download_url" ]; then
echo "Error: Unable to find the download URL for the WASM artifact"
exit 1
fi

# Step 3: Add debug info
mkdir -p test-assets/wasm
Expand Down

0 comments on commit 8477c95

Please sign in to comment.