diff --git a/.travis.yml b/.travis.yml index 3958b1a..ce7c463 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/build.sh b/build.sh index 99e8c8f..d511abc 100755 --- a/build.sh +++ b/build.sh @@ -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" @@ -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"