crate-ci/azure-pipelines

Help people with producing GitHub artifacts

epage opened this issue · 8 comments

epage commented

For binaries, it is common on tagged releases to upload them to github following a specific pattern to be compatible with gh-install tools, see trust

epage commented

One of the problems is we can't offer a pre-built solution because there might be various requirements (legal notification, completion files, etc). cargo-tarball is meant to help solve that problem but I've not been getting time to finish stager and cargo-tarball. In the mean time, we might want to at least give an example of how to build and upload a binary on a tagged release.

I think @Keats' azure-pipelines.yml from over here may be good inspiration for this.

There are a number of other GitHub artefacts we may also want to produce. Two good examples are pushing master documentation to gh-pages and producing GitHub releases. There is some more context over at tokio-rs/tracing#191 (comment).

epage commented

I split ghp docs out into #35

I think this is now explicitly out-of-scope. If your project wants this, it should write a job that uses the install-rust template and then upload the artifact. That said, maybe we want an examples/ directory that gives example jobs for things like this?

See also #78.