File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1
1
OS=" linux"
2
- V=" 0.9.2 "
2
+ V=" 0.9.3 "
3
3
for ISO in $( ls ../i18n)
4
4
do
5
5
# Remove previous working dir
Original file line number Diff line number Diff line change
1
+ OS=" OpenBSD"
2
+ V=" 0.9.3"
3
+ for ISO in $( ls ../i18n)
4
+ do
5
+ # Remove previous working dir
6
+ rm -rf /tmp/dist
7
+ # Create folder structure
8
+ mkdir /tmp/dist
9
+ mkdir /tmp/dist/bin
10
+ mkdir /tmp/dist/examples
11
+ mkdir /tmp/dist/fonts
12
+ mkdir /tmp/dist/mods
13
+ mkdir /tmp/dist/mods/request
14
+ mkdir /tmp/dist/mods/json
15
+ # Copy license
16
+ cp ../LICENSE /tmp/dist/
17
+ # Copy binary
18
+ cp ../bin/${OS} /ctr${ISO} /tmp/dist/bin/ctr${ISO}
19
+ # Copy examples
20
+ cp ../examples/${ISO} /* /tmp/dist/examples/
21
+ # Copy font
22
+ cp ../fonts/Citrine.ttf /tmp/dist/fonts/
23
+ # Copy mods
24
+ cp ../mods/${OS} /request/libctrrequest.so /tmp/dist/mods/request/
25
+ cp ../mods/${OS} /json/libctrjson.so /tmp/dist/mods/json/
26
+ # Archive
27
+ tar cvzf citrine${V} -${OS} -${ISO} .tar.gz -C /tmp dist
28
+ # Sign
29
+ signify-openbsd -Sz -s keys/privatekey.sec -m citrine${V} -${OS} -${ISO} .tar.gz -x downloads/${OS} /citrine${V} -${OS} -${ISO} .tgz
30
+ done
You can’t perform that action at this time.
0 commit comments