Metadata-Version: 2.1
Name: github-tagged-release
Version: 0.0.4
Summary: GitHub changelogs using tags for your CircleCI workflow
Home-page: https://github.com/convertelligence/github-tagged-release
Author: Nikolai R Kristiansen
Author-email: nikolaik@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: requests (>=2.18.4)

## GitHub tagged release
GitHub changelogs using tags for your CircleCI workflow.

### Usage
```bash
pipenv install github_tagged_release
pipenv run github_tagged_release
```

#### In python
```python
from github_release import GitHubRelease
gr = GitHubRelease()
gr.create_release_from_tag()
```

Example CircleCI workflow:
```yaml
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: /.*/
```

