diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07c95398..6f6b6d8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,12 +85,19 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - id: branch-name - uses: tj-actions/branch-names@v7.0.7 - - name: Ensure we can checkout gh-pages + - name: Get branch names + id: branch-names + uses: tj-actions/branch-names@v8 + - name: Ensure we can checkout gh-pages for release (${{ steps.branch-names.outputs.tag }}) + if: steps.branch-names.outputs.is_tag == 'true' run: | git checkout gh-pages - git checkout ${{ steps.branch-name.outputs.current_branch }} + git checkout ${{ steps.branch-names.outputs.tag }} + - name: Ensure we can checkout gh-pages for pr (${{ steps.branch-names.outputs.current_branch }}) + if: steps.branch-names.outputs.is_tag == 'false' + run: | + git checkout gh-pages + git checkout ${{ steps.branch-names.outputs.current_branch }} - name: Setup Python 3.8 uses: actions/setup-python@v2 with: diff --git a/mqtt_io/__init__.py b/mqtt_io/__init__.py index 255c44e6..16d54bac 100644 --- a/mqtt_io/__init__.py +++ b/mqtt_io/__init__.py @@ -2,4 +2,4 @@ Top level of MQTT IO package. """ -VERSION = "2.4.2" +VERSION = "2.4.3" diff --git a/pyproject.toml b/pyproject.toml index 728472a4..c94c4e36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mqtt-io" -version = "2.4.2" +version = "2.4.3" description = "Expose GPIO modules (Raspberry Pi, Beaglebone, PCF8754, PiFace2 etc.), digital sensors (LM75 etc.) and serial streams to an MQTT server for remote control and monitoring." readme = "README.md" authors = ["Ellis Percival "] diff --git a/setup.cfg b/setup.cfg index b73b57c2..9bdba722 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,10 @@ [bumpversion] -current_version = 2.4.2 +current_version = 2.4.3 commit = True tag = True tag_name = {new_version} message = Bump version to {new_version} [bumpversion:file:pyproject.toml] + [bumpversion:file:mqtt_io/__init__.py]