Skip to content

Release a hotfix

Charlton, Scott R edited this page Jan 5, 2024 · 3 revisions

Create branch from tag:

git checkout -b hotfix-v3.7.3 v3.7.3-hotfix-2

Fix bug(s):

cd phreeqcrm
code .

Review previous changes made to distro.yml:

# git diff COMMIT~ COMMIT
git diff v3.7.3-hotfix-2~ v3.7.3-hotfix-2

Update distro.yml for release:

code .github/workflows/distro.yml

Commit and push changes: upstream = [email protected]:usgs-coupled/phreeqcrm.git

git commit -m"Fixes for hotfix 3"
git push --set-upstream upstream hotfix-v3.7.3

Verify build:

open https://github.com/usgs-coupled/phreeqcrm/actions

Download 'tarball' artifact (from Summary)

Artifacts are stored for 90 days

open https://github.com/usgs-coupled/phreeqcrm/actions/runs/7416675632

Create new release:

open https://github.com/usgs-coupled/phreeqcrm/releases
  1. Click 'Draft a new release'
  2. Click 'Choose a tag'
  3. Type in the new tag (ie v3.7.3-hostfix-3)
  4. Set target branch (ie hotfix-v3.7.3)
  5. Update 'Release title' (ie phreeqcrm-3.7.3-15968-hotfix-3)
  6. Update 'Describe this release' (ie 2024-01-04 ...)
  7. Drag and drop tarball contents to the 'Attach binaries ...'

Example

Clone this wiki locally