github-release

Plugin to make github releases

Arguments

  • CF_REPO_NAME * - Codefresh provided variable containing repository name
  • CF_REPO_OWNER * - Codefresh provided variable containing repository owner name
  • CF_TARGET_BRANCH - Codefresh provided variable containing target branch
  • FILES - A glob expression for the list of the files to be uploaded
  • GITHUB_TOKEN * - Codefresh provided variable containing repository owner name
  • PRERELEASE - If true, this variable tells the plugin to create a pre-release
  • RELEASE_DESCRIPTION - Release description
  • RELEASE_NAME * - Name of the release
  • RELEASE_TAG * - Git tag to create a release
    version: '1.0'
steps:
  github_prerelease:
    type: github-release
    arguments:
      GITHUB_TOKEN: '${{GITHUB_TOKEN}}'
      CF_REPO_OWNER: '${{CF_REPO_OWNER}}'
      CF_REPO_NAME: '${{CF_REPO_NAME}}'
      RELEASE_NAME: '${{RELEASE_NAME}}'
      RELEASE_TAG: '${{RELEASE_TAG}}'
      RELEASE_DESCRIPTION: '${{RELEASE_DESCRIPTION}}'
      CF_TARGET_BRANCH: '${{CF_TARGET_BRANCH}}'
      PRERELEASE: '${{PRERELEASE}}'
      FILES: '${{FILES}}'

  
github.com
Alex Cheshko
Sep 18, 2019