Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

GitHub changelogs using tags for your CircleCI workflow

Project description

GitHub tagged release

GitHub changelogs using tags for your CircleCI workflow.

Usage

pip install github_tagged_release
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
      - npm test

   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: npm run deploy
      - run:
          name: Create GitHub release
          command: |
            pip install --user github-tagged-release
            python ~/.local/bin/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.

Files for github-tagged-release, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size github_tagged_release-0.1.0-py3-none-any.whl (6.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size github_tagged_release-0.1.0.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

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