diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index 9039c8e..7f4fd2b 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -1,9 +1,7 @@ name: Pyinstaller on: - push: - branches: - - '**' - - '!master' # excludes master branch + release: + types: [published] jobs: build: name: Pyinstaller (${{ matrix.python-version }}, ${{ matrix.os }}) diff --git a/README.md b/README.md index 861b843..b588890 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # seguid_calculator -[![Pytest](https://github.com/BjornFJohansson/seguid_calculator/actions/workflows/test.yml/badge.svg)](https://github.com/BjornFJohansson/seguid_calculator/actions/workflows/test.yml) -[![Pyinstaller](https://github.com/BjornFJohansson/seguid_calculator/actions/workflows/pyinstaller.yml/badge.svg?branch=master)](https://github.com/BjornFJohansson/seguid_calculator/actions/workflows/pyinstaller.yml) [![PyPI version](https://badge.fury.io/py/seguid-calculator.svg)](https://badge.fury.io/py/seguid-calculator) +[![PyPI version](https://badge.fury.io/py/seguid-calculator.svg)](https://badge.fury.io/py/seguid-calculator) ![seguid_calculator_small.png](images/seguid_calculator_small.png "seguid_calculator") diff --git a/build_with_pyinstaller.sh b/build_with_pyinstaller.sh index 9d94c4a..8bca6a7 100644 --- a/build_with_pyinstaller.sh +++ b/build_with_pyinstaller.sh @@ -1,5 +1,3 @@ #!/usr/bin/env bash -# pyinstaller --onefile --disable-windowed-traceback --windowed --icon=calc.ico --name seguid_calculator src/gui.py - pyinstaller --copy-metadata seguid_calculator --onefile --disable-windowed-traceback --windowed --icon=images/calc.ico --name seguid_calculator2 src/seguid_calculator/calculator.py