Publish versions, attach files and provide generic packages.

Releases#

A release belongs to a Git tag and describes a version with Markdown notes and attached files.

  1. Releases → New release.
  2. Choose a tag or type a new one – if it is missing, Codeny creates it at the chosen branch or commit.
  3. Write title and notes, attach files.
  4. Save as draft (only visible to people with write access), mark as pre-release or publish right away.

Attachments can be up to 200 MiB. Codeny stores a SHA-256 checksum, counts downloads and always serves attachments as downloads, never as a web page. Deleting a release keeps the Git tag.

Publishing sends the release.published event to webhooks.

Generic packages#

For build results not tied to a release, every repository has packages. A package has a name and version; the files of a version are immutable.

# upload (token with write access)
curl --fail -X PUT \
  -H "Authorization: Bearer $CODENY_TOKEN" \
  --data-binary @app-linux-amd64.tar.gz \
  https://codeny.org/api/v1/repositories/<owner>/<repo>/packages/generic/app/1.4.0/app-linux-amd64.tar.gz

# download
curl -H "Authorization: Bearer $CODENY_TOKEN" -O \
  https://codeny.org/api/v1/repositories/<owner>/<repo>/packages/generic/app/1.4.0/app-linux-amd64.tar.gz

Registry protocols such as npm, Maven, PyPI, NuGet or container images (OCI) are not supported yet.

Last updated