aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xreleasevars.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/releasevars.sh b/releasevars.sh
index 0f885db..896d4f8 100755
--- a/releasevars.sh
+++ b/releasevars.sh
@@ -16,7 +16,19 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-RELEASE="6.0"
+RELEASE=""
+
+if [ -z "${RELEASE}" ] ; then
+ echo "You need to define the RELEASE variable in the releasevars.sh script."
+ echo "This needs to reflect the Replicant version you are releasing."
+ echo
+ echo "For example, if you are releasing Replicant 6.0 0004 RC2, you can use:"
+ echo " RELEASE=\"6.0-0004-rc2\""
+ echo
+ echo "Or if you just want to release a build from the replicant-6.0 branch:"
+ echo " RELEASE=\"6.0\""
+ exit 1
+fi
# The files are in out/dist/${device}/
RELEASE_IMAGES="\