Skip to content

Commit

Permalink
Add dev docs on releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Oct 29, 2024
1 parent b03cf63 commit d58f978
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,28 @@ pixi run build-release-gfortran
We can also build from VSCode:
Press `Cntrl + Shift + P > Tasks: Run build task > Build Release (gfortran)`.

## Deubugging
## Releasing

The GitHub workflows have been configured to automatically build and upload
new executables upon pushing a new tag to the main branch.

1. Ensure you are on main branch.
2. Create and push a new tag.

```console
git tag 0.0.1
git push origin 0.0.1
```

The workflow runs for Windows, macOS, and Linux; and will automatically:

- Build the executables
- Run the tests
- Compress executables into a ZIP archive
- Create a text file containing a SHA-256 hash of the ZIP archive
- Upload the ZIP and hash text file to: https://github.com/USEPA/gflow1/releases

## Debugging

Most of the time you will want to debug with `gdb`. When compiling with `ifort`
on Windows, `vsdbg` is preferred.
Expand Down

0 comments on commit d58f978

Please sign in to comment.