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
{{ message }}
This repository was archived by the owner on Oct 23, 2025. It is now read-only.
For selfoss, we use $nextVersion-$commit as a version string but this confuses Cloudsmith, which expects version strings to follow Semantic Versioning specification.1 As a result, the git commit hash after the dash is considered a pre-release version so Cloudsmith assigns the automatic version:latest tag to the snapshot with the numerically greatest commit hash (e.g. fffffff).
It is possible to workaround this broken detection of latest version by manually setting version:latest tag (as recommended by your Cloudsmith support agent in 2022). Unfortunately, that only works when done using a separate cloudsmith tags add command after uploading the package, not with the --tags option of push command used by the action.
I guess there is/was some hook updating version:latest that triggers only after the package is pushed, so it clobbers the version:latest tag passed through --tags to push command.
I can try to resurrect the workaround I implemented in #35 if desired.
Footnotes
I also tried using fixed pre as the pre-release version, which will be greater than any commit hash, and relegate the commit hash to build metadata. The SemVer spec mandates that “Build metadata MUST be ignored when
determining version precedence.” But looks like Cloudsmith considers the build metadata part of the sort key, in contradiction with the SemVer spec. ↩