Skip to content

Commit ceec200

Browse files
committed
Ensure argument --release_id for gl-gh-release is handled as int
Signed-off-by: Tobias Wolf <wolf@b1-systems.de> On-behalf-of: SAP <tobias.wolf@sap.com>
1 parent 0dc5a23 commit ceec200

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.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: "0.10.19"
7+
default: "0.10.20"
88
python_version:
99
description: Python version to setup
1010
default: "3.13"

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 = "0.10.19"
3+
version = "0.10.20"
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/github/release/__main__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def get_parser() -> argparse.ArgumentParser:
131131

132132
upload_parser.add_argument(
133133
"--release_id",
134+
type=int,
134135
required=True,
135136
help="GitHub release ID to upload the file to (required).",
136137
)
@@ -149,7 +150,10 @@ def get_parser() -> argparse.ArgumentParser:
149150
)
150151

151152
upload_parser.add_argument(
152-
"--overwrite-same-name", action="store_true", default=False
153+
"--overwrite-same-name",
154+
action="store_true",
155+
default=False,
156+
help="Overwrite assets with the same name.",
153157
)
154158

155159
return parser

0 commit comments

Comments
 (0)