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

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.

Source Distribution

github_tagged_release-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

github_tagged_release-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file github_tagged_release-0.1.0.tar.gz.

File metadata

  • Download URL: github_tagged_release-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for github_tagged_release-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0d8395af84b93eb33b0a1c53fed844c44866dd9a55800ee298c0bed774ea5927
MD5 323094cc5ff6ac552a707fa38519258d
BLAKE2b-256 8616ae6a5db7979349a4bf43ae4a7564d969f1092e0fa8d559f270919ea8c00d

See more details on using hashes here.

File details

Details for the file github_tagged_release-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: github_tagged_release-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for github_tagged_release-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b472e4d44493d308e5ca63d9062c95037f380cb3ee386ab1258ab7312f00ae38
MD5 e4447ef99375c4ef14f0f5624e1c59dc
BLAKE2b-256 8905b23f6d9fd079e6ac6ca954f6c0edfd0c49b57cfb511e3a3d9d11b388d135

See more details on using hashes here.

Supported by

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