Skip to content

Commit

Permalink
Feature 673 metviewer release (#910)
Browse files Browse the repository at this point in the history
Co-authored-by: jprestop <jpresto@ucar.edu>
Co-authored-by: bikegeek <minnawin@ucar.edu>
  • Loading branch information
3 people authored May 10, 2021
1 parent a38fca5 commit cabcee6
Show file tree
Hide file tree
Showing 9 changed files with 92 additions and 2 deletions.
10 changes: 9 additions & 1 deletion docs/Release_Guide/metviewer_bugfix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,13 @@ Create a new vX.Y.Z bugfix release from the main_vX.Y branch.

.. include:: release_steps/open_release_issue.rst
.. include:: release_steps/clone_project_repository.rst
.. include:: release_steps/checkout_develop_branch.rst
.. include:: release_steps/checkout_main_branch.rst
.. include:: release_steps/create_release_feature_branch.rst
.. include:: release_steps/metviewer/update_version_bugfix.rst
.. include:: release_steps/update_release_notes_bugfix.rst
.. include:: release_steps/merge_release_issue.rst
.. include:: release_steps/create_release_on_github.rst
.. include:: release_steps/metviewer/create_release_extra.rst
.. include:: release_steps/metviewer/update_dtc_website.rst
.. include:: release_steps/finalize_release_on_github_official.rst

10 changes: 9 additions & 1 deletion docs/Release_Guide/metviewer_development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,13 @@ Create a new vX.Y.Z-betaN or vX.Y.Z-rcN development release from the develop bra

.. include:: release_steps/open_release_issue.rst
.. include:: release_steps/clone_project_repository.rst
.. include:: release_steps/checkout_main_branch.rst
.. include:: release_steps/checkout_develop_branch.rst
.. include:: release_steps/create_release_feature_branch.rst
.. include:: release_steps/metviewer/update_version.rst
.. include:: release_steps/update_release_notes_development.rst
.. include:: release_steps/merge_release_issue.rst
.. include:: release_steps/create_release_on_github.rst
.. include:: release_steps/metviewer/create_release_extra.rst
.. include:: release_steps/metviewer/update_dtc_website.rst
.. include:: release_steps/finalize_release_on_github_development.rst
.. include:: release_steps/metviewer/update_version_on_develop.rst
13 changes: 13 additions & 0 deletions docs/Release_Guide/metviewer_official.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,16 @@ Create a new vX.Y.Z official release from the develop branch.
.. include:: release_steps/clone_project_repository.rst
.. include:: release_steps/checkout_develop_branch.rst
.. include:: release_steps/create_release_feature_branch.rst
.. include:: release_steps/metviewer/update_version_official.rst
.. include:: release_steps/update_release_notes_official.rst
.. include:: release_steps/rotate_authorship.rst
.. include:: release_steps/merge_release_issue.rst
.. include:: release_steps/create_release_branch.rst
.. include:: release_steps/push_release_branch.rst
.. include:: release_steps/create_release_on_github.rst
.. include:: release_steps/metviewer/create_release_extra.rst
.. include:: release_steps/metviewer/update_dtc_website.rst
.. include:: release_steps/finalize_release_on_github_official.rst
.. include:: release_steps/metviewer/update_version_on_develop.rst
.. include:: release_steps/update_docs_official.rst

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* If this is a development release, check the box that says "This is a pre-release"

* Click on "Publish release".
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.. include:: release_steps/common/update_dtc_website.rst

.. |projectName| replace:: |projectRepo|

.. |addTarfileStep| replace:: Link text should be the name of the release and the URL should be the release page that was just created under the GitHub Releases tab.
10 changes: 10 additions & 0 deletions docs/Release_Guide/release_steps/metviewer/update_version.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Update Version Number for Release
---------------------------------

Create the version number

- In the METviewer/docs/version file, assign the version to the '__version__' keyword
- In the METviewer/build.xml file, assign the version in the 'dist' target
- In the METviewer/vebapp/metviewer/metviewer1.jsp file, assign the version to <div id='release'> and <title>
- We are naming releases with X.Y.Z format even if Z is 0.
- In the develop branch, the version should match the upcoming release like X.Y.Z-betaN
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Update Version Number for Release
---------------------------------

Update the version number for the bugfix release:

* For METviewer, the file containing the version number is located at docs/version.
* If the current release is listed as X.Y.Z (major.minor.micro), the bugfix version should be X.Y.Z+1
(i.e. increment the micro value by 1: 1.1.0 becomes 1.1.1)
* In the METviewer/build.xml file, assign the version in the 'dist' target
* In the METviewer/vebapp/metviewer/metviewer1.jsp file, assign the version to <div id='release'> and <title>


Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Update Version Number for Release
---------------------------------

Remove **-dev** from the version number:

* We are naming releases with X.Y.Z format even if Z is 0.
* The file containing the version number is located at docs/version.
* In the METviewer/build.xml file, assign the version in the 'dist' target
* In the METviewer/vebapp/metviewer/metviewer1.jsp file, assign the version to <div id='release'> and <title>

* Save and close the file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Update Version on Develop Branch
--------------------------------

Change METviewer/docs/version __version__ value to the next release after this one with -dev added
to the end. Releases will loosely following these names, but are subject to
change:

+-------------------+-----------------------+
| Release Version | New Develop Version |
+===================+=======================+
| X.Y.Z-beta1 | X.Y.Z-beta2-dev |
+-------------------+-----------------------+
| X.Y.Z-beta2 | X.Y.Z-beta3-dev |
+-------------------+-----------------------+
| X.Y.Z-beta3 | X.Y.Z-rc1-dev |
+-------------------+-----------------------+
| X.Y.Z-rc1 | X.Y.Z-dev |
+-------------------+-----------------------+
| X.Y.Z | (X+1).0.0-beta1-dev |
+-------------------+-----------------------+

0 comments on commit cabcee6

Please sign in to comment.