Skip to content

Commit 56bf38b

Browse files
committed
Fix changelog rotation
1 parent 35e1bc5 commit 56bf38b

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

admin/release

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ sed -i "/Release Date/s/Not Released/$(date +'%B %d, %Y')/" user_guide_src/sourc
6161
sed -i "/|version|/s/|version|/${RELEASE}/" user_guide_src/source/changelogs/next.rst
6262

6363
# establish version-specific changelog
64-
mv user_guide_src/source/changelogs/next.rst user_guide_src/source/changelogs/${RELEASE}.rst
64+
sed -i "|changelogs/next|s|changeslog/next|changelogs/v{$RELEASE}| user_guide_src/source/changelogs/index.rst
65+
mv user_guide_src/source/changelogs/next.rst user_guide_src/source/changelogs/v${RELEASE}.rst
66+
touch user_guide_src/source/changelogs/next.rst
6567
6668
#---------------------------------------------------
6769
# Setup the distribution folders
@@ -101,6 +103,7 @@ cd user_guide_src
101103
rm -rf build/*
102104
echo -e "${BOLD}... HTML version${NORMAL}"
103105
make html
106+
touch build/html/.nojekyll
104107
echo -e "${BOLD}... epub version${NORMAL}"
105108
make epub
106109

user_guide_src/source/changelogs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Release Date: November 30, 2018
3131
- We welcome Natan Felles, from Brazil, to the code developer team.
3232
He has proven to be passionate, dedicated and thorough :)
3333

34-
:doc:`See all the changes. </changelogs/next>`
34+
:doc:`See all the changes. </changelogs/v4.0.0-alpha.3>`
3535

3636

3737
Version 4.0.0-alpha.2

0 commit comments

Comments
 (0)