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 #242 from elopio/test-snap-in-travis
Move the snap deploy script to a separate file
- Loading branch information
Showing
3 changed files
with
20 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
# | ||
# Build the ipfs-cluster snaps and push them to the store. | ||
|
||
set -ev | ||
|
||
snap() { | ||
snapcraft clean | ||
ARCH_TRIPLET=$1 TARGET_GOARCH=$2 snapcraft --target-arch $3 | ||
snapcraft push ipfs-cluster*$3.snap --release edge | ||
} | ||
|
||
snap x86_64-linux-gnu amd64 amd64 | ||
snap arm-linux-gnueabihf arm armhf | ||
snap aarch64-linux-gnu arm64 arm64 |
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