gh_add_publish_archive()

def gh_add_publish_archive(name, input, version, deploy_repo, deps, sh, suffix, visibility)

Creates an archive and publishes it to github.

This can be run on multiple OS’s and multiple arch’s.

Args

  • name: string: Name of the project to publish.
  • input: string: The workspace path to the folder/file to archive and publish
  • version: string: Version to publish
  • deploy_repo: string: The github URL to the repo
  • deps: list: dependencies for the archive
  • sh: string: The shell to use for running commands (default: bash)
  • suffix: string: The suffix of the archive file (tar.gz, tar.xz, tar.bz2, zip)
  • visibility: Rule visibility. See visibility.star for more info.