vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Publish a directory declaration as a tree
4f8a3da8f7801735ab7ab719b3fda3f39cb7e070 · Keenan Nemetz · 19d ago · parent 5f2a0b0a
Publish a directory declaration as a tree A workflow artifact path with no glob that names a directory now publishes every regular file under it, relative to that directory. `dist` gives `apt/Packages` and `yum/repodata/repomd.xml`; `dist/apt` gives `Packages`. A glob keeps the static-root rule, and `.` is refused so a declaration cannot accidentally publish the whole checkout. This matches `vole release attach <tag> <dir>` and removes the need for depth-specific globs or a staging copy when a build already has a package tree. Refs: 01M7BPH6RRPK2934FCHVJPQNGY
docs/releases.md +8−1
| @@ -84,12 +84,19 @@ page warns when a repository uses LFS. | |||
| 84 | 84 | ||
| 85 | 85 | ## Build a release in CI | |
| 86 | 86 | ||
| 87 | A tag workflow can build and attach files with `release: true`: | ||
| 87 | A tag workflow can build and attach files with `release: true`. A glob publishes | ||
| 88 | relative to its static root; a directory publishes its tree relative to the | ||
| 89 | directory: | ||
| 88 | 90 | ||
| 89 | 91 | ```yaml | |
| 90 | 92 | artifacts: | |
| 91 | 93 | - path: dist/* | |
| 92 | 94 | release: true | |
| 95 | # or, for a package layout: | ||
| 96 | # - path: dist/apt | ||
| 97 | # release: true # Packages, Packages.gz, the .deb files, ... | ||
| 98 | # - path: dist | ||
| 99 | # release: true # apt/Packages, yum/repodata/repomd.xml, ... | ||
| 93 | 100 | ``` | |
| 94 | 101 | ||
| 95 | 102 | The workflow writes the same attachment pointers as `vole release attach`. See | |