aboutsummaryrefslogtreecommitdiffstats
path: root/export-noobs
diff options
context:
space:
mode:
authorDragonEagle <[email protected]>2020-02-26 05:36:39 -0800
committerGitHub <[email protected]>2020-02-26 13:36:39 +0000
commit08fc0b9a8237c5a9926a0e9d660156a1e838d33a (patch)
tree14da8234fd54d30edc52d4b26f5c00860fec5acf /export-noobs
parent8ef3f47d7f0c6fdc722b1c3161d2502c9201bcc1 (diff)
Exposed RELEASE as a configurable variable (#391)
Exposed RELEASE as a configurable variable and updated README.md. As a bonus, there is only on place to change the release name when the next release is stable now.
Diffstat (limited to 'export-noobs')
-rwxr-xr-xexport-noobs/00-release/00-run.sh1
-rw-r--r--export-noobs/00-release/files/os.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/export-noobs/00-release/00-run.sh b/export-noobs/00-release/00-run.sh
index 1d0b12f..18a3a5d 100755
--- a/export-noobs/00-release/00-run.sh
+++ b/export-noobs/00-release/00-run.sh
@@ -36,6 +36,7 @@ sed "${NOOBS_DIR}/partitions.json" -i -e "s|ROOT_NOM|${ROOT_NOM}|"
sed "${NOOBS_DIR}/os.json" -i -e "s|UNRELEASED|${IMG_DATE}|"
sed "${NOOBS_DIR}/os.json" -i -e "s|NOOBS_NAME|${NOOBS_NAME}|"
sed "${NOOBS_DIR}/os.json" -i -e "s|NOOBS_DESCRIPTION|${NOOBS_DESCRIPTION}|"
+sed "${NOOBS_DIR}/os.json" -i -e "s|RELEASE|${RELEASE}|"
sed "${NOOBS_DIR}/release_notes.txt" -i -e "s|UNRELEASED|${IMG_DATE}|"
diff --git a/export-noobs/00-release/files/os.json b/export-noobs/00-release/files/os.json
index afa9f9a..e231238 100644
--- a/export-noobs/00-release/files/os.json
+++ b/export-noobs/00-release/files/os.json
@@ -16,5 +16,5 @@
],
"url": "http://www.raspbian.org/",
"username": "pi",
- "version": "buster"
+ "version": "RELEASE"
}