Custom release downloads

Kian Kasad kian at kasad.com
Sun Dec 5 21:25:06 UTC 2021


Hi,

Is it possible to add custom release downloads? Instead of a snapshot of
the Git repository, I want to be able to add a certain file to download.
This file will be generated in a post-receive hook for my repository,
but that shouldn't matter too much.

For example, the repository structure could look like this, with the
files to download placed in a 'releases' folder.

	repo.git
	├── branches
	├── config
	├── description
	├── HEAD
	├── releases
	│   ├── v0.0.0
	│   │   ├── kblackjack-0.0.0.tar.gz
	│   │   └── kblackjack-0.0.0-py3-none-any.whl
	│   └── v0.0.1
	│       ├── kblackjack-0.0.1.tar.gz
	│       └── kblackjack-0.0.1-py3-none-any.whl
	├── hooks
	│   └── ...
	├── info
	│   └── ...
	├── objects
	│   └── ...
	└── refs
	    └── ...

--
Kian Kasad
PGP 0x1715EEAA14DAEC1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20211205/fea226d6/attachment.sig>


More information about the CGit mailing list