Skip to content

Commit

Permalink
master: new_release.sh: auto edit user_guide.xrst.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradbell committed Jan 4, 2024
1 parent d308242 commit 434f607
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion bin/new_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ sed -i .coin-or/projDesc.xml \
#
# user_guide.xrst
sed -i user_guide.xrst \
-e "/\/archive\//s|[0-9]\{8\}\.[0-9]*|$stable_version.$release|g"
-e "/\/archive\//s|[0-9]\{8\}\.[0-9]*|$stable_version.$release|g" \
-e "s|release-[0-9]\{8\}\.[0-9]*|release-$stable_version.$release|g" \
-e "s|documentation-[0-9]\{8\}|documentation-$stable_version|g" \
-e "s|stable-[0-9]\{8\}|stable-$stable_version|g" \
#
# stable_branch
stable_branch=stable/$stable_version
Expand Down
8 changes: 3 additions & 5 deletions user_guide.xrst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# ----------------------------------------------------------------------------
{xrst_begin user_guide}
{xrst_spell
appveyor
autodiff
github
posix
Expand All @@ -19,11 +18,10 @@ cppad-20240103: CppAD User's Manual
.. list-table::
:widths: auto

* - `release <https://github.com/coin-or/CppAD/tags>`_
- `20240000.0 <https://github.com/coin-or/CppAD/archive/20240000.0.tar.gz>`_
* - `release-20240000.0 <https://github.com/coin-or/CppAD/archive/20240000.0.tar.gz>`_
- `documentation-20240000 <https://cppad.readthedocs.io/stable-20240000>`_
- `other releases <https://github.com/coin-or/CppAD/tags>`_
- `github <https://github.com/coin-or/CppAD>`_
- `travis <https://travis-ci.org/coin-or/CppAD>`_
- `appveyor <https://ci.appveyor.com/project/bradbell/cppad>`_
- `cppad.spec <https://src.fedoraproject.org/rpms/cppad/blob/master/f/cppad.spec>`_

.. list-table::
Expand Down

0 comments on commit 434f607

Please sign in to comment.