Skip to main content

GitHub changelogs using tags for your CircleCI workflow

Project description

GitHub tagged release

GitHub changelogs using tags for your CircleCI workflow.

Usage

pipenv install github_tagged_release
pipenv run github_tagged_release

In python

from github_release import GitHubRelease
gr = GitHubRelease()
gr.create_release_from_tag()

Example CircleCI workflow:

version: 2
jobs:
  build:
    docker:
      - image: circleci/node:8
    steps:
      - checkout
      - npm install && jest

   deploy_prod:
    docker:
      - image: circleci/node:8
    steps:
      - run:
          name: Verify tag on master branch
          command: |
            git branch --contains | grep -q '^[ |*] master$'
      - run:
          name: Deploy
          command: npx deploy
      - run:
          name: Create GitHub release
          command: |
            pipenv install github_tagged_release
            pipenv run github_tagged_release

workflows:
  version: 2
  build_test_hold_deploy:
    jobs:
      - build:
          filters:
            tags:
              only: /.*/
      - deploy_prod:
          requires:
            - build
          filters:
            tags:
              only: /^v[0-9]+(\.[0-9]+)*$/
            branches:
              ignore: /.*/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
github_tagged_release-0.0.6-py3-none-any.whl (5.3 kB) Copy SHA256 hash SHA256 Wheel py3
github_tagged_release-0.0.6.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page