Skip to content

Commit

Permalink
add arm64 arch release from jonnenauha#77
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeusJunior committed Aug 15, 2024
1 parent 88a7ace commit c33a690
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,17 @@ deploy:
secure: "sY70uGYD3R5urUhwG97ncA6GFtVG9qBcJ+Ge+dlO1c36vi8XafuqhvY7isNfrXvbAmNSr70JZLzU2UsQ3A5XMWXh4LvvOSPjOgusDWnxS/XYjscIyb4KaL2q+Mt8+VrobaC30gPzKS8srmQ0ToJ3LCMvVtu9ZRLBJ3K+pbMRF2grxwqUGZp4xnOSxxr2bSYhzYHe0I0wfUdfQ+9cqsfoIAcTf6JcJn7UP2LdOdNiqBdKoCgMRUoLS7UARO/mTupY+fJRv/UdiqS9zDr2E3/mA9CnLSaj+nzKsYMNDrOMFynHCq19PuVi8TvJcEDAgqYFiLt5NybrHuAXQmwH1ndPD4GS5RgSm8N46rD0a8rH/SzvyjDGOfar803KjjeV6DxIZwFIfrM+tkQQT8GwiCB1rsxsZ1Q6JqEv6AhjgDi5mZOoKtIysyz2DHNV0r7os2MRujQumz8cwGeMVUnWOJJer3yEcjiL7wXC8WK113w1DdvKlrlW7X+Z0cnEtHjIgxr8LTnmJbjqSWknj1x+jZoRi5K9Z/OXfHl9w7JvLv5+TYsNA0KSgZssFDYG8mVqxbk4piiOl1i1pMgRc62hsh/mim302FRdVXJjUePuvNIwbPT1NCvZ8ZhwamwwIgzaL7VqxCuKygaOpqWY4Nd83fVFKMz55SkWP6tH0GCgzMkqEGY="
file:
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.linux-amd64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.linux-arm64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.freebsd-amd64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.freebsd-arm64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.openbsd-amd64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.openbsd-arm64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.netbsd-amd64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.netbsd-arm64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.darwin-amd64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.darwin-arm64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.windows-amd64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.windows-arm64.tar.gz"
- "bin/release/dashboards-$TRAVIS_TAG.tar.gz"
- "bin/release/sha256sums.txt"
on:
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi
tar -cvzf ./bin/release/dashboards-$VERSION.tar.gz dashboards/* > /dev/null 2>&1

for goos in linux darwin windows freebsd openbsd netbsd ; do
for goarch in amd64; do
for goarch in amd64 arm64; do
# path
file_versioned="prometheus_varnish_exporter-$VERSION.$goos-$goarch"
outdir="bin/build/$file_versioned"
Expand Down Expand Up @@ -54,7 +54,7 @@ rm .goenv

echo -e "\nRelease done: $(./bin/build/prometheus_varnish_exporter-$VERSION.$GOOS-$GOARCH/prometheus_varnish_exporter --version)"
for goos in linux darwin windows freebsd openbsd netbsd ; do
for goarch in amd64; do
for goarch in amd64 arm64; do
file_versioned="prometheus_varnish_exporter-$VERSION.$goos-$goarch"
path=bin/release/$file_versioned.tar.gz
echo " > `du -hc $path | awk 'NR==1{print $1;}'` $path"
Expand Down

0 comments on commit c33a690

Please sign in to comment.