aboutsummaryrefslogtreecommitdiffstats
path: root/releasevars.sh
blob: 09950d749793a0a9b6c69fd6345408119de60f35 (plain)
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
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/bash
#
# Copyright (C) 2017 Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

VERSION="6.0"
RELEASE="0003"
# The files are in out/dist/${device}/
RELEASE_IMAGES="\
	recovery-i9100.img \
	recovery-n7000.img \
	recovery-maguro.img \
	recovery-espressowifi.img \
	recovery-espresso3g.img \
	recovery-i9300.img \
	recovery-n7100.img \
	recovery-i9305.img \
	recovery-n5100.img \
	recovery-n5110.img \
	replicant-6.0-i9100.zip \
	replicant-6.0-n7000.zip \
	replicant-6.0-maguro.zip \
	replicant-6.0-espressowifi.zip \
	replicant-6.0-espresso3g.zip \
	replicant-6.0-i9300.zip \
	replicant-6.0-n7100.zip \
	replicant-6.0-i9305.zip \
	replicant-6.0-n5100.zip \
	replicant-6.0-n5110.zip \
"

RELEASE_DEVICES="\
	i9100 \
	n7000 \
	maguro \
	espressowifi \
	espresso3g \
	i9300 \
	n7100 \
	i9305 \
	n5100 \
	n5110 \
"

RELEASE_KEY="5816A24C10757FC4"
REPO="repo"
COLOR=1

METADATA="$RELEASE_DIR/metadata"
SECURITY="$RELEASE_DIR/security"
SCRIPTS="$RELEASE_DIR/scripts"
TOOLS="$RELEASE_DIR/tools"
IMAGES="$RELEASE_DIR/images"

set_color () {
	if [ "$COLOR" = "1" ]
	then
		color_start="\033[36m"
		color_end="\033[0m"
	else
		color_start=""
		color_end=""
	fi
}