Skip to content

Commit 52f732e

Browse files
committed
Bump version to v1.0.2
Signed-off-by: Tobias Wolf <wolf@b1-systems.de> On-behalf-of: SAP <tobias.wolf@sap.com>
1 parent 6dcf70c commit 52f732e

4 files changed

Lines changed: 13 additions & 11 deletions

File tree

‎.github/actions/setup/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Installs the given GardenLinux Python library
44
inputs:
55
version:
66
description: GardenLinux Python library version
7-
default: "1.0.1"
7+
default: "1.0.2"
88
python_version:
99
description: Python version to setup
1010
default: "3.14"

‎poetry.lock‎

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎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 = "gardenlinux"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
description = "Contains tools to work with the features directory of gardenlinux, for example deducting dependencies from feature sets or validating cnames"
55
authors = ["Garden Linux Maintainers <contact@gardenlinux.io>"]
66
license = "Apache-2.0"

‎src/gardenlinux/features/artifact_base_name.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,9 +434,11 @@ def new_instance(
434434
raise RuntimeError("Version does not match the given argument")
435435

436436
if commit_id_or_hash:
437+
commit_id = commit_id_or_hash[:8]
438+
437439
if abn_object.commit_hash and abn_object.commit_hash != commit_id_or_hash:
438440
raise RuntimeError("Commit hash does not match the given argument")
439-
elif abn_object.commit_id != commit_id_or_hash[:8]:
441+
elif abn_object.commit_id != commit_id:
440442
raise RuntimeError("Commit ID does not match the given argument")
441443

442444
return abn_object

0 commit comments

Comments
 (0)