File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 103
103
}
104
104
},
105
105
"short_name" : " MySensors" ,
106
- "version" : " 1.3.0 "
106
+ "version" : " 1.3.1 "
107
107
}
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
+ python3 -m pip install --upgrade pip
4
+
3
5
version=$( grep ' "version"' manifest.json | cut -d: -f2 | cut -d\" -f2)
4
6
5
7
# Setup environment for building inside Dockerized toolchain
6
8
[ $( id -u) = 0 ] && umask 0
7
9
8
10
# Clean up from previous releases
11
+ echo " removing old files"
9
12
rm -rf * .tgz * .sha256sum package SHA256SUMS lib
10
13
11
14
if [ -z " ${ADDON_ARCH} " ]; then
16
19
fi
17
20
18
21
19
-
20
22
# Prep new package
21
- mkdir lib package
23
+ echo " creating package"
24
+ mkdir -p lib package
22
25
23
26
# Pull down Python dependencies
24
27
pip3 install -r requirements.txt -t lib --no-binary :all: --prefix " "
@@ -41,6 +44,7 @@ echo "creating archive"
41
44
TARFILE=" mysensors-adapter-${version}${TARFILE_SUFFIX} .tgz"
42
45
tar czf ${TARFILE} package
43
46
47
+ echo " creating shasums"
44
48
shasum --algorithm 256 ${TARFILE} > ${TARFILE} .sha256sum
45
49
cat ${TARFILE} .sha256sum
46
50
# sha256sum ${TARFILE}
You can’t perform that action at this time.
0 commit comments