Skip to content

Commit c90e5c0

Browse files
authored
Release 2.4.3 (#387)
* use is_tag in doc pipeline * Bump version to 2.4.3
1 parent 48ef0d0 commit c90e5c0

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,19 @@ jobs:
8585
- uses: actions/checkout@v2
8686
with:
8787
fetch-depth: 0
88-
- id: branch-name
89-
uses: tj-actions/[email protected]
90-
- name: Ensure we can checkout gh-pages
88+
- name: Get branch names
89+
id: branch-names
90+
uses: tj-actions/branch-names@v8
91+
- name: Ensure we can checkout gh-pages for release (${{ steps.branch-names.outputs.tag }})
92+
if: steps.branch-names.outputs.is_tag == 'true'
9193
run: |
9294
git checkout gh-pages
93-
git checkout ${{ steps.branch-name.outputs.current_branch }}
95+
git checkout ${{ steps.branch-names.outputs.tag }}
96+
- name: Ensure we can checkout gh-pages for pr (${{ steps.branch-names.outputs.current_branch }})
97+
if: steps.branch-names.outputs.is_tag == 'false'
98+
run: |
99+
git checkout gh-pages
100+
git checkout ${{ steps.branch-names.outputs.current_branch }}
94101
- name: Setup Python 3.8
95102
uses: actions/setup-python@v2
96103
with:

mqtt_io/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Top level of MQTT IO package.
33
"""
44

5-
VERSION = "2.4.2"
5+
VERSION = "2.4.3"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mqtt-io"
3-
version = "2.4.2"
3+
version = "2.4.3"
44
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."
55
readme = "README.md"
66
authors = ["Ellis Percival <[email protected]>"]

setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[bumpversion]
2-
current_version = 2.4.2
2+
current_version = 2.4.3
33
commit = True
44
tag = True
55
tag_name = {new_version}
66
message = Bump version to {new_version}
77

88
[bumpversion:file:pyproject.toml]
9+
910
[bumpversion:file:mqtt_io/__init__.py]

0 commit comments

Comments
 (0)