Skip to content
Stephen Pascoe edited this page Apr 9, 2014 · 2 revisions
Wiki Reorganisation
This page has been classified for reorganisation. It has been given the category MOVE.
The content of this page will be revised and moved to one or more other pages in the new wiki structure.
cd /path/esgf.github.io
git pull
python release-creater.py -h
usage: release-creater.py [-h] version content

create and update release pages

positional arguments:
  version     release version number eg 1.7
  content     file with html or markdown content

optional arguments:
  -h, --help  show this help message and exit

Example 1.9 has been cut and all the release notes have been written in to a file 1.9notes.txt

###Adding a new release version page to esgf.org using release-creater.py

cd /path/esgf.github.io
python release-creater.py 1.9 1.9notes.txt
  • now review

    • that a new page "release1.9.md" has been created and is to your liking
    • /_layouts/releases_sidebar.html has a "release1.9.md" link added
  • commit to repo

      git add release1.9.md
      git commit -am "adding 1.9 release notes"
      git push
    

###Adding a new release version page to esgf.org using template (performing the script by hand)

cd /path/esgf.github.io
git pull
cp release_base.md release1.9.md
open release1.9.md
find and replace {version} with "title: release 1.9"
find and replace {content} with 1.9 release notes (html or markdown)
save, close
open /_layouts/releases_sidebar.html
find <!--next--> and add a new line under it with "<li><a href="release1.9.html">Release 1.9</a></li>"
git add release1.9.md
git commit -am "adding 1.9 release notes"
git push
Clone this wiki locally