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
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: |
pip install github_tagged_release
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
Built Distribution
Close
Hashes for github_tagged_release-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7382903f4dea2a0d4f2c544ea3e4c6ba44ff644e4c2e81e763d114c7b7eb27e1 |
|
MD5 | bbb6b3d4505bc341e2ae555daecce638 |
|
BLAKE2b-256 | dc733753e08f3b988f7389d42975179c2ecfe82bc2141d1b9d2be383c080fccf |
Close
Hashes for github_tagged_release-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 847e7e9bdfa4861f573f40fe5e964895c8043d35da607b1b861c43d98f7204f8 |
|
MD5 | 3a911ae8ff36fafd7b2b35f0887cde5c |
|
BLAKE2b-256 | 9a3040e36f14acfa8e267793bc7ffa9e49088d194397ca966e20a19dd1e32c65 |