Skip to content

Conversation

@forsyth2
Copy link
Collaborator

Bump to 1.4.4rc1

@forsyth2 forsyth2 added the Update version Code specifically to update the version label Jan 14, 2025
@forsyth2 forsyth2 self-assigned this Jan 14, 2025
@forsyth2 forsyth2 merged commit 9c047ad into main Jan 14, 2025
3 checks passed
@forsyth2 forsyth2 deleted the v1.4.4rc1 branch January 14, 2025 22:39
@forsyth2
Copy link
Collaborator Author

Release process notes:

cd /global/homes/f/forsyth/ez/zstash
git fetch upstream
git checkout -b test_zstash_main_20250114 upstream/main
conda clean --all --y
conda env create -f conda/dev.yml -n zstash_dev_20250114
conda activate zstash_dev_20250114
pip install .

# Follow https://github.com/E3SM-Project/zstash/discussions/329:
# Log into https://www.globus.org/
# NERSC Perlmutter, NERSC HPSS are activated in the File Manager
rm ~/.globus-native-apps.cfg
cd /global/homes/f/forsyth/ez/zstash_globus_setup
rm -rf zstash_demo/
mkdir zstash_demo; echo 'file0 stuff' > zstash_demo/file0.txt
zstash create --hpss=globus://6c54cade-bde5-45c1-bdea-f4bd71dba2cc/~/manual_run zstash_demo
# Two authentications required
cd /global/homes/f/forsyth/ez/zstash
python -u -m unittest tests/test_globus.py 
# The test should now run. Note that it's common for there to be a short hang, but then the test will finish.

# Run all unit tests:
python -u -m unittest tests/test_*.py 
# All tests pass

# We may now begin the release process
git fetch upstream main
git checkout -b v1.4.4rc1 upstream/main
tbump 1.4.4rc1 --no-tag
git push upstream v1.4.4rc1
# Create and merge https://github.com/E3SM-Project/zstash/pull/359

git checkout main
git fetch upstream
git reset --hard upstream/main
git tag -a v1.4.4rc1 -m "v1.4.4rc1"
# Delete the branch from the tbump step. Otherwise, the push command won't work.
git branch -D v1.4.4rc1
git push upstream v1.4.4rc1

cd /global/homes/f/forsyth/zstash-feedstock
curl -sL https://github.com/E3SM-Project/zstash/archive/v1.4.4rc1.tar.gz | openssl sha256
# SHA2-256(stdin)= 726098c4f1deae9126c4ad80d4d37ab0a049d5b881bf8ffd3aa20d781b8e5bc9

git fetch upstream dev
git checkout -b v1.4.4rc1 upstream/dev
# In `recipe/meta.yaml`, update the version and sha256 (and the build number if needed):
{% set version = "1.4.4rc1" %}
sha256: ... # The sha256 from the previous step
number: 0 # build >>> number should always be 0
git add -A
git commit -m "v1.4.4rc1"
git push forsyth2 v1.4.4rc1

# Created https://github.com/conda-forge/zstash-feedstock/pull/11

@forsyth2 forsyth2 mentioned this pull request Oct 7, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Update version Code specifically to update the version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants