Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
/ github-release-orb Public archive

A CircleCI orb to automate your GitHub releases.

License

Notifications You must be signed in to change notification settings

duffn/github-release-orb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unmaintained

This repository is archived and unmaintained. Use at your own risk.

github-release-orb

CircleCI Build Status Orb Version Badge GitHub License

A CircleCI orb to automatically create releases for a GitHub repository.

Usage

version: 2.1

orbs:
  github-release: duffn/github-release@0.1

jobs:
  release:
    docker:
      - image: cimg/base:stable
    steps:
      - checkout
      - github-release/release

workflows:
  release:
    jobs:
      - release:
          filters:
            branches:
              only:
                - main
  • Specify [semver:<major|minor|patch>] in your commit message to trigger a new release.
    • The orb will extract the SemVer from your commit message and bump the GitHub version accordingly.
    • Add [semver:skip] to your commit message to skip publishing a release or just leave [semver:<increment>] out entirely.
      • Note that when merging a PR in GitHub, if you squash your PR when merging, the title of your PR will the the title of your commit message! So, open your PR with a title like [semver:minor] New minor release, squash your PR when merging, and the orb will pick up that commit message and create a GitHub release.
  • See the examples and documentation in the CircleCI orb registry for more.

Setup

Use of this orb requires some additional setup.