Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 34c76dd0a9ebc63f118615f1df8efe07e15f14be
parent 7b2b6aba8166f64f3d5d7f59137fb95248f610e2
Author: Sergio Benitez <sb@sergio.bz>
Date:   Sun, 28 Oct 2018 20:12:46 -0700

Keep release info in site's 'index.toml'.

Diffstat:
Mscripts/bump_version.sh | 5+++--
Msite/index.toml | 8++++++++
2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/scripts/bump_version.sh b/scripts/bump_version.sh @@ -34,6 +34,7 @@ function do_replace() { do_replace "v$(major ${1})" "v$(major ${2})" do_replace "${1}" "${2}" -# today=$(date "+%b %d, %Y") -# sed -i.bak "s/^date.*/date = \"$today\"/" "${SITE_ROOT}/index.toml" +today=$(date "+%b %d, %Y") +sed -i.bak "s/^date.*/date = \"$today\"/" "${SITE_ROOT}/index.toml" + find ${PROJECT_ROOT} -name "*.bak" | xargs rm diff --git a/site/index.toml b/site/index.toml @@ -1,4 +1,12 @@ ############################################################################### +# Release info: displayed between bars in the header +############################################################################### + +[release] +version = "0.4.0-dev" +date = "Oct 28, 2018" + +############################################################################### # Top features: displayed in the header under the introductory text. ###############################################################################