forked from supabase/wrappers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request supabase#148 from dymium-io/fix-delete-ds-connection
Fix delete ds connection
- Loading branch information
Showing
17 changed files
with
254 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
go build -a -tags netgo -ldflags '-X 'main.MajorVersion=0' -X 'main.MinorVersion=1' -w -extldflags "-static"' -o /tmp/meshconnector | ||
tar -C /tmp -cvzf /tmp/meshconnector.tar.gz meshconnector | ||
cp /tmp/meshconnector.tar.gz ../../../web/go/assets/customer//meshconnector_darwin_amd64.tar.gz | ||
#aws s3 --profile dymium --region us-west-2 cp /tmp/meshconnector.tar.gz s3://dymium-connectors/macos/ | ||
rm /tmp/meshconnector.tar.gz | ||
|
||
|
||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \ | ||
go build -a -tags netgo -ldflags '-X 'main.MajorVersion=0' -X 'main.MinorVersion=1' -w -extldflags "-static"' -o /tmp/meshconnector | ||
tar -C /tmp -cvzf /tmp/meshconnector.tar.gz meshconnector | ||
cp /tmp/meshconnector.tar.gz ../../../web/go/assets/customer/meshconnector_linux_amd64.tar.gz | ||
#aws s3 --profile dymium --region us-west-2 cp /tmp/meshconnector.tar.gz s3://dymium-connectors/linux/ | ||
rm /tmp/meshconnector.tar.gz | ||
|
||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 \ | ||
go build -a -tags netgo -ldflags '-X 'main.MajorVersion=0' -X 'main.MinorVersion=1' -w -extldflags "-static"' -o /tmp/meshconnector.exe | ||
zip /tmp/meshconnector.zip /tmp/meshconnector.exe | ||
cp /tmp/meshconnector.zip ../../../web/go/assets/customer/meshconnector_windows_amd64.zip | ||
#aws s3 --profile dymium --region us-west-2 cp /tmp/meshconnector.zip s3://dymium-connectors/windows/ | ||
rm /tmp/meshconnector.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.