Skip to content

Commit 998d993

Browse files
committed
fix: place publish subcommand before arguments
Changed from: feelpp-apt-publish --args publish To: feelpp-apt-publish publish --args This matches the expected CLI syntax for subcommand parsers. Bumps version to 2.2.3
1 parent 7653dc5 commit 998d993

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.2.3] - 2026-01-12
9+
10+
### Fixed
11+
- Command argument order: `publish` subcommand now comes before arguments, not after
12+
- Fixes "error: the following arguments are required: --component" when using subcommands
13+
814
## [2.2.2] - 2026-01-12
915

1016
### Fixed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ runs:
276276
PUBLISH_ARGS+=(--auto-bump)
277277
fi
278278
279-
feelpp-apt-publish "${PUBLISH_ARGS[@]}" publish
279+
feelpp-apt-publish publish "${PUBLISH_ARGS[@]}"
280280
281281
echo "published=true" >> $GITHUB_OUTPUT
282282

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "setup-aptly-action"
3-
version = "2.2.2"
3+
version = "2.2.3"
44
description = "GitHub Action for setting up aptly and publishing Debian packages to Feel++ APT repository"
55
readme = "README.md"
66
requires-python = ">=3.8"

0 commit comments

Comments
 (0)