Updated Creating a release (markdown)
This commit is contained in:
parent
ba52571aaf
commit
85d9195218
|
@ -62,3 +62,29 @@ PATH=$PATH:$(pwd)/bin
|
|||
- **TIP:** Here is a real-life example of a commit that signifies a release: https://github.com/nim-lang/website/commit/6f95916dee1212dcf5465d74dcff14e01f714503. The draft blog post was created in earlier commits, but hopefully it's pretty easy to figure out how it was made.
|
||||
- **TIP2:** You can see what a draft post looks like by running `jekyll serve --drafts` inside the website's `jekyll` directory.
|
||||
- `git push live master` (the `live` remote is a strict secret)
|
||||
|
||||
### Uploading docs
|
||||
|
||||
- ``export NIM_VER=<current_ver>`` (for example ``export NIM_VER=0.19.0``).
|
||||
- Upload documentation to ``/var/www/nim-lang.org/$NIM_VER``
|
||||
- Change ``docs`` symlink
|
||||
- ``cd /var/www/nim-lang.org/``
|
||||
- ``ln -sfn $NIM_VER docs`` (change the version here)
|
||||
- Verify this worked using ``ls -la | grep "docs"``
|
||||
|
||||
### Updating choosenim's channels
|
||||
|
||||
Choosenim currently only supports gz so you will need to create a .tar.gz out of the .tar.xz:
|
||||
|
||||
- ``export NIM_VER=<current_ver>``
|
||||
- ``cd /var/www/nim-lang.org/download``
|
||||
- ``cp nim-$NIM_VER.tar.xz nim-"$NIM_VER"_copy.tar.xz``
|
||||
- ``unxz nim-"$NIM_VER"_copy.tar.xz``
|
||||
- ``gzip --best nim-"$NIM_VER"_copy.tar``
|
||||
- ``mv nim-"$NIM_VER"_copy.tar.gz nim-"$NIM_VER".tar.gz``
|
||||
- ``sha256sum nim-"$NIM_VER".tar.gz > nim-"$NIM_VER".tar.gz.sha256``
|
||||
|
||||
Update the ``stable`` channel:
|
||||
|
||||
- Update ``/var/www/nim-lang.org/channels`` using your favourite editor
|
||||
- ``vim /var/www/nim-lang.org/channels/stable``
|
Loading…
Reference in New Issue