Skip to content

Bump to 3.0.0rc5#691

Merged
forsyth2 merged 1 commit intomainfrom
v3.0.0rc5
Mar 11, 2025
Merged

Bump to 3.0.0rc5#691
forsyth2 merged 1 commit intomainfrom
v3.0.0rc5

Conversation

@forsyth2
Copy link
Collaborator

Bump to 3.0.0rc5

@forsyth2 forsyth2 added the DevOps CI/CD, configuration, etc. label Mar 11, 2025
@forsyth2 forsyth2 self-assigned this Mar 11, 2025
@forsyth2 forsyth2 merged commit d6dc36f into main Mar 11, 2025
5 checks passed
@forsyth2 forsyth2 deleted the v3.0.0rc5 branch March 11, 2025 21:40
@forsyth2
Copy link
Collaborator Author

Releasing zppy v3.0.0rc5

https://docs.e3sm.org/zppy/_build/html/main/dev_guide/release.html

Run unit tests

We'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.43s

Bumping the Version

cd ~/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
# Merge

Releasing on GitHub: release candidates

git 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/tags

Releasing on conda-forge: release candidates

cd ~/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DevOps CI/CD, configuration, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant