Skip to content

Commit

Permalink
docs(sensor): upgrade version number
Browse files Browse the repository at this point in the history
  • Loading branch information
dostuffthatmatters committed Feb 15, 2023
1 parent 846ee2e commit cbe19ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion raspi-setup/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hermes-raspi-setup"
version = "0.1.0-alpha.12"
version = "0.1.0-alpha.13"
description = ""
authors = ["Moritz Makowski <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion sensor/config/config.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.0-alpha.12",
"version": "0.1.0-alpha.13",
"revision": 0,
"verbose_logging": false,
"active_components": {
Expand Down
2 changes: 1 addition & 1 deletion sensor/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sensor"
version = "0.1.0-alpha.12"
version = "0.1.0-alpha.13"
description = ""
authors = ["Moritz Makowski <[email protected]>"]
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions sensor/src/custom_types/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class Config:
class Config(BaseModel):
"""The config.json for each sensor"""

version: Literal["0.1.0-alpha.12"]
version: Literal["0.1.0-alpha.13"]
revision: int
verbose_logging: bool
active_components: ActiveComponentsConfig
Expand All @@ -246,7 +246,7 @@ class Config(BaseModel):

# validators
_val_version = validator("version", pre=True, allow_reuse=True)(
validate_str(allowed=["0.1.0-alpha.12"]),
validate_str(allowed=["0.1.0-alpha.13"]),
)
_val_revision = validator("revision", pre=True, allow_reuse=True)(
validate_int(minimum=0, maximum=2_147_483_648),
Expand Down

0 comments on commit cbe19ea

Please sign in to comment.