You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The release-libraries silently keeps library non-published if LIBPATCH is too high due to human mistake
(e.g. the latest published LIBPATCH is 3 and the currently committed is 5):
> charmcraft publish-lib charms.mongodb.v0.mongodb_tls
Library charms.mongodb.v0.mongodb_tls has a wrong LIBPATCH number,
it's too high and needs to be consecutive, Charmhub highest version is 0.3.
> echo $?
0
Charmhub enforces LIBPATCH needs to be consecutive. Unfortunately exit code there is zero, so it is silently missing.
To Reproduce
bump LIBPATCH on 2+ versions to the current
try to publish new library
Environment
charmhub 2.2.0
charming-actions 2.2.2
Relevant log output
> charmcraft publish-lib charms.mongodb.v0.mongodb_tls
Library charms.mongodb.v0.mongodb_tls has a wrong LIBPATCH number, it's too high and needs to be consecutive, Charmhub highest version is 0.3. > echo $?0
Additional context
No response
The text was updated successfully, but these errors were encountered:
Bug Description
HI,
The
release-libraries
silently keeps library non-published if LIBPATCH is too high due to human mistake(e.g. the latest published LIBPATCH is 3 and the currently committed is 5):
Charmhub enforces LIBPATCH needs to be consecutive. Unfortunately exit code there is zero, so it is silently missing.
To Reproduce
Environment
charmhub 2.2.0
charming-actions 2.2.2
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: