Skip to content

Commit

Permalink
update version numbers in advance of 2.1 release (#25324)
Browse files Browse the repository at this point in the history
prepare for release of v2.1 by updating the official release flag and a
few other places where version number has an impact, including
documentation and testing.

(#24588 demonstrates changes
from last release cycle)

TESTING:

- [x] paratest `[Summary: #Successes = 17278 | #Failures = 0 | #Futures
= 928]`
  • Loading branch information
arezaii authored Jun 24, 2024
2 parents 916ca4c + ab285c8 commit 7b77daa
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 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.1.0 (pre-release)'
#release = '2.1.0'
#release = '2.1.0 (pre-release)'
release = '2.1.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.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>`_
* `Chapel 1.31 <https://chapel-lang.org/docs/1.31/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.0 source release, see
1) If you don't already have the Chapel 2.1 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.0.0.tar.gz
tar xzf chapel-2.1.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.0.0
cd chapel-2.1.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.0.0
export CHPL_HOME=~/chapel-2.1.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.1 pre-release
:Version: 2.1
:Manual section: 1
:Title: \\fBchpl\\fP
:Subtitle: Compiler for the Chapel Programming Language
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 7b77daa

Please sign in to comment.