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
Built Distribution
Close
Hashes for github_tagged_release-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b63f1e45b1ac15a05ee190ba6e95b309fed4e87bcc1a8bddc3e58f6b98107c7b |
|
MD5 | 08fd02beaad904a03162e7428f3e0e1f |
|
BLAKE2b-256 | bb05e040bf10453da4fa127403d30bc06b6d650e1d6413b2b7c33b931b7151de |
Close
Hashes for github_tagged_release-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad162960b5cde75aca5f94b7dea953aa98342b3ddbd922e651951a3cafb19be8 |
|
MD5 | 4be4ef7cd22a22c837e9be4437756cf8 |
|
BLAKE2b-256 | 3eda5deaa9d9046bf6ef4a30177720dd14534ff8f7f7b296643770fa72ed8858 |