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 = git@github.com: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

Click 'Draft a new release'

Click 'Choose a tag'

Type in the new tag (ie v3.7.3-hostfix-3)

Set target branch (ie hotfix-v3.7.3)

Update 'Release title' (ie phreeqcrm-3.7.3-15968-hotfix-3)

Update 'Describe this release' (ie 2024-01-04 ...)

Drag and drop tarball contents to the 'Attach binaries ...'

Example

Clone this wiki locally