Skip to content

Commit

Permalink
Version number update for 2.2 release
Browse files Browse the repository at this point in the history
This PR updates the Chapel tree for the official 2.2 release by updating
the offical release flag and documentation variables.

Signed-off-by: Tim Zinsky <tim.zinsky@hpe.com>
  • Loading branch information
tzinsky committed Sep 17, 2024
1 parent 72cedcb commit 787a5eb
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ set(CHPL_BUILD_VERSION 0)

# Flip this to 'true' when we're ready to roll out a release; then back
# after branching
set(CHPL_OFFICIAL_RELEASE false)
set(CHPL_OFFICIAL_RELEASE true)

### END config.h version value setting - configured_prefix set below ###

Expand Down
4 changes: 2 additions & 2 deletions doc/rst/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def setup(app):
html_context = {"chplversion":chplversion}

# The full version, including alpha/beta/rc tags.
release = '2.2.0 (pre-release)'
#release = '2.2.0'
#release = '2.2.0 (pre-release)'
release = '2.2.0'

# General information about the project.
project = u'Chapel Documentation'
Expand Down
1 change: 1 addition & 0 deletions doc/rst/language/archivedSpecs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Documentation Archives

Online Documentation Archives
-----------------------------
* `Chapel 2.1 <https://chapel-lang.org/docs/2.1/index.html>`_
* `Chapel 2.0 <https://chapel-lang.org/docs/2.0/index.html>`_
* `Chapel 1.33 <https://chapel-lang.org/docs/1.33/index.html>`_
* `Chapel 1.32 <https://chapel-lang.org/docs/1.32/index.html>`_
Expand Down
6 changes: 3 additions & 3 deletions doc/rst/usingchapel/QUICKSTART.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ to :ref:`using-a-more-full-featured-chapel` below.
packages you should have available to build and run Chapel.


1) If you don't already have the Chapel 2.1 source release, see
1) If you don't already have the Chapel 2.2 source release, see
https://chapel-lang.org/download.html.


Expand All @@ -31,14 +31,14 @@ to :ref:`using-a-more-full-featured-chapel` below.

.. code-block:: bash
tar xzf chapel-2.1.0.tar.gz
tar xzf chapel-2.2.0.tar.gz
b. Make sure that you are in the directory that was created when
unpacking the source release, for example:

.. code-block:: bash
cd chapel-2.1.0
cd chapel-2.2.0
c. Set up your environment for Chapel's Quickstart mode.
If you are using a shell other than ``bash`` or ``zsh``,
Expand Down
2 changes: 1 addition & 1 deletion doc/rst/usingchapel/chplenv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CHPL_HOME

.. code-block:: sh
export CHPL_HOME=~/chapel-2.1.0
export CHPL_HOME=~/chapel-2.2.0
.. note::
This, and all other examples in the Chapel documentation, assumes you're
Expand Down
2 changes: 1 addition & 1 deletion man/confchpl.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

:Version: 2.2 pre-release
:Version: 2.2
:Manual section: 1
:Title: \\fBchpl\\fP
:Subtitle: Compiler for the Chapel Programming Language
2 changes: 1 addition & 1 deletion man/confchpldoc.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

:Version: 2.2 pre-release
:Version: 2.2
:Manual section: 1
:Title: \\fBchpldoc\\fP
:Subtitle: the Chapel Documentation Tool
6 changes: 3 additions & 3 deletions test/chpldoc/compflags/combinations/versionhelp-chpldoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ compiler=$3
echo -n `basename $compiler`
cat $CWD/../../../compflags/bradc/printstuff/version.goodstart
# During pre-release mode
diff $CWD/../../../../compiler/main/BUILD_VERSION $CWD/zero.txt > /dev/null 2>&1 && echo "" || \
{ echo -n " pre-release (" && cat $CWD/../../../../compiler/main/BUILD_VERSION | tr -d \"\\n && echo ")" ; }
# diff $CWD/../../../../compiler/main/BUILD_VERSION $CWD/zero.txt > /dev/null 2>&1 && echo "" || \
# { echo -n " pre-release (" && cat $CWD/../../../../compiler/main/BUILD_VERSION | tr -d \"\\n && echo ")" ; }
# During release mode:
# echo ""
echo ""

# print Sphinx and chapeldomain versions
python=$($CWD/../../../../util/config/find-python.sh)
Expand Down
6 changes: 3 additions & 3 deletions test/compflags/bradc/printstuff/versionhelp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ compiler=$3
echo -n `basename $compiler`
cat $CWD/version.goodstart
# During pre-release mode
diff $CWD/../../../../compiler/main/BUILD_VERSION $CWD/zero.txt > /dev/null 2>&1 && echo "" || \
{ echo -n " pre-release (" && cat $CWD/../../../../compiler/main/BUILD_VERSION | tr -d \"\\n && echo ")" ; }
# diff $CWD/../../../../compiler/main/BUILD_VERSION $CWD/zero.txt > /dev/null 2>&1 && echo "" || \
{ echo -n " pre-release (" && cat $CWD/../../../../compiler/main/BUILD_VERSION | tr -d \"\\n && echo ")" ; }
# During release mode:
# echo ""
echo ""

if [ "$CHPL_LLVM" != "none" ]
then
Expand Down

0 comments on commit 787a5eb

Please sign in to comment.