Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Installs the given GardenLinux Python library
inputs:
version:
description: GardenLinux Python library version
default: "1.0.1"
default: "1.0.2"
python_version:
description: Python version to setup
default: "3.14"
Expand Down
16 changes: 8 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gardenlinux"
version = "1.0.1"
version = "1.0.2"
description = "Contains tools to work with the features directory of gardenlinux, for example deducting dependencies from feature sets or validating cnames"
authors = ["Garden Linux Maintainers <[email protected]>"]
license = "Apache-2.0"
Expand Down
4 changes: 3 additions & 1 deletion src/gardenlinux/features/artifact_base_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,11 @@ def new_instance(
raise RuntimeError("Version does not match the given argument")

if commit_id_or_hash:
commit_id = commit_id_or_hash[:8]

if abn_object.commit_hash and abn_object.commit_hash != commit_id_or_hash:
raise RuntimeError("Commit hash does not match the given argument")
elif abn_object.commit_id != commit_id_or_hash[:8]:
elif abn_object.commit_id != commit_id:
raise RuntimeError("Commit ID does not match the given argument")

return abn_object
Loading