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.

Source Distribution

github_tagged_release-0.0.6.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

github_tagged_release-0.0.6-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page