diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index 74f8ec4..c32873f 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -199,9 +199,13 @@ jobs: zip -sf $zip_dist done - name: Publish GitHub release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: ${{ github.ref_name }} generate_release_notes: true + append_body: true + body: | + + ![](https://img.shields.io/github/downloads/OpenAstroTech/OATFWGUI/${{ github.ref_name }}/total) fail_on_unmatched_files: true files: artifacts/*/*.zip diff --git a/README.md b/README.md index e062232..65af1d7 100644 --- a/README.md +++ b/README.md @@ -50,3 +50,7 @@ To run the widget designer you need python development libraries: `source .venv/bin/activate && env PYSIDE_DESIGNER_PLUGINS=$(realpath ./OATFWGUI) pyside6-designer` Open `main_widget.ui` in the designer + +### Releasing a new version +1. Bump version in `OATFWGUI/_version.py` +2. Run `scripts/commit_and_tag_new_version.sh`