diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-05-05 16:30:37 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-05-07 14:46:27 +0200 |
commit | 9d7a7dc094f56d04610c2917af37cb9c48e99961 (patch) | |
tree | cbb782176309fda193b7c9cd85e2fa574777d969 /releasevars.sh | |
parent | 491cc7445644441b11565cb5a52a66ce43cf5f41 (diff) | |
download | vendor_replicant-release-scripts-9d7a7dc094f56d04610c2917af37cb9c48e99961.tar.gz vendor_replicant-release-scripts-9d7a7dc094f56d04610c2917af37cb9c48e99961.tar.bz2 vendor_replicant-release-scripts-9d7a7dc094f56d04610c2917af37cb9c48e99961.zip |
Replicant 6.0 0001 images release
Besides updating the scripts to account for changes introduced after
Android 4.2, the following modifications were made:
* Introduce releasevars.sh to store frequently used variables
* Remove SDK parts and devices not yet supported by Replicant 6.0
* Add unpackbootimg to release tools
* Use my GPG key for signing
* Use more functionality from the repo tool to simplify the scripts
* Only accept tags for git metadata.
* Additionally tag the LineageOS mirror besides our forked repos.
Ignore the manifest repo as it's tagged manually.
* Add releasebuild.sh script to build all targets and the toolchain
* Make sure a bash shell is used
* Use repo tool from $PATH
* Abort on error
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'releasevars.sh')
-rwxr-xr-x | releasevars.sh | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/releasevars.sh b/releasevars.sh new file mode 100755 index 0000000..21c434c --- /dev/null +++ b/releasevars.sh @@ -0,0 +1,44 @@ +#!/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="0001" + +RELEASE_IMAGES="recovery-i9100.img recovery-i9300.img recovery-n7100.img recovery-i9305.img replicant-6.0-i9100.zip replicant-6.0-i9300.zip replicant-6.0-n7100.zip replicant-6.0-i9305.zip" +RELEASE_DEVICES="i9100 i9300 n7100 i9305" + +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 +} |