aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/before_deploy.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh
new file mode 100755
index 0000000..203a245
--- /dev/null
+++ b/ci/before_deploy.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+mkdir stage
+
+cp target/$TARGET/release/ruuvitag-upload stage
+
+cd stage
+
+tar cvzf ../ruuvitag-upload-${TRAVIS_TAG}-${TARGET}.tar.gz *
+
+cd ..
+
+rm -rf stage