We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ed1c0 commit eec7da3Copy full SHA for eec7da3
.gitignore
@@ -0,0 +1 @@
1
+*.bz2
pack.bash
@@ -0,0 +1,16 @@
+#!/bin/bash -ex
2
+
3
+VERSION=`grep version= platform.txt | sed 's/version=//g'`
4
5
+PWD=`pwd`
6
+FOLDERNAME=`basename $PWD`
7
+THIS_SCRIPT_NAME=`basename $0`
8
9
+rm -f samd-$VERSION.tar.bz2
10
11
+cd ..
12
+tar --transform "s|$FOLDERNAME|$VERSION|g" --exclude=.git --exclude=.idea --exclude=$THIS_SCRIPT_NAME -cjf samd-$VERSION.tar.bz2 $FOLDERNAME
13
+cd -
14
15
+mv ../samd-$VERSION.tar.bz2 .
16
0 commit comments