Conversation
Collaborator
Author
Releasing zppy v3.0.0rc5https://docs.e3sm.org/zppy/_build/html/main/dev_guide/release.html Run unit testsWe'll save full integration testing for after the RC is made. cd ~/ez/zppy
git fetch upstream
git checkout -b test_zppy_main_20250311 upstream/main
conda clean --all --y
conda env create -f conda/dev.yml -n zppy_dev_20250311
conda activate zppy_dev_20250311
pip install .
pytest tests/test_*.py
# /gpfs/fs1/home/ac.forsyth2/ez/zppy/zppy/utils.py:191: DeprecationWarning: invalid escape sequence \.
# 25 passed, 1 warning in 0.43sBumping the Versioncd ~/ez/zppy
git status
# Make sure there are no uncommitted changes.
git fetch upstream
git checkout -b v3.0.0rc5 upstream/main
tbump 3.0.0rc5 --no-tag
git push upstream v3.0.0rc5
# Create pull request: https://github.com/E3SM-Project/zppy/pull/691
# MergeReleasing on GitHub: release candidatesgit checkout main
git fetch upstream
git reset --hard upstream/main
git tag -a v3.0.0rc5 -m "v3.0.0rc5"
# Delete the branch from the tbump step. Otherwise, the push command won't work.
git branch -D v3.0.0rc5
git push upstream v3.0.0rc5
# Now on https://github.com/E3SM-Project/zppy/tagsReleasing on conda-forge: release candidatescd ~/zppy-feedstock
curl -sL https://github.com/E3SM-Project/zppy/archive/v3.0.0rc5.tar.gz | openssl sha256
# SHA2-256(stdin)= 48bae2d2722b8d60cfcf2b74abc712dc4451e05ba8887d2d1811855ea8ab6618
git fetch upstream dev
git checkout -b v3.0.0rc5 upstream/dev
# In `recipe/meta.yaml`, update the version and sha256 (and the build number if needed):
# {% set version = "3.0.0rc5" %} # Set to your version
# sha256: ... # The sha256 from the previous step
# number: 0 # build > number should always be 0
git add -A
git commit -m "v3.0.0rc5"
git push forsyth2 v3.0.0rc5
# Create pull request: https://github.com/conda-forge/zppy-feedstock/pull/22
# TODO: Merge
# TODO: check that rc5 appears on https://anaconda.org/conda-forge/zppy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump to 3.0.0rc5