forked from csa-iot/data-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make_release.sh
executable file
·65 lines (60 loc) · 1.21 KB
/
make_release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
FILES="Alarms.xml
BallastConfiguration.xml
BarrierControl.xml
Basic.xml
ColorControl.xml
Commissioning.xml
ConcentrationMeasurement.xml
DehumidificationControl.xml
DeviceTemperatureConfiguration.xml
Diagnostics.xml
DoorLock.xml
ElectricalConductivityMeasurement.xml
ElectricalMeasurement.xml
FanControl.xml
FlowMeasurement.xml
Groups.xml
IASACE.xml
IASWD.xml
IASZone.xml
Identify.xml
IlluminanceLevelSensing.xml
IlluminanceMeasurement.xml
KeepAlive.xml
LICENSE.md
Level.xml
LevelControlForLighting.xml
MeterIdentification.xml
OccupancySensing.xml
OnOff.xml
OTAUpgrade.xml
pHMeasurement.xml
PollControl.xml
PowerConfiguration.xml
PressureMeasurement.xml
PulseWidthModulation.xml
PumpConfigurationAndControl.xml
README.md
ReleaseNotes.md
Scenes.xml
ShadeConfiguration.xml
TemperatureMeasurement.xml
Thermostat.xml
ThermostatUserInterfaceConfiguration.xml
Time.xml
TouchlinkCommissioning.xml
WaterContentMeasurement.xml
WindowCovering.xml
WindSpeedMeasurement.xml
cluster.xsd
global.xml
library.xml
type.xsd"
read -p "Please enter the release identifier (e.g. 7.0): " release
echo "Making release is ${release}"
rm -rf release/${release}
mkdir -p release/${release}
for file in $FILES; do
cp $file release/${release}
done