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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42b5f8b508678c6aac44244c1d1e31bee7d11acc7af172480583b41f3dc293f2 |
|
MD5 | 65ca0b29b00c9b6b250b6b235cf5a9f5 |
|
BLAKE2b-256 | 4044426d882051ec35029eb0cb376485e85894c46a055ded87d19179fac3ca1a |
Close
Hashes for github_tagged_release-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027a93ec9be26e7fddf6b63d9874761ba5c7ce885b9b112346fc16c1d4fcea28 |
|
MD5 | 479d0ad9f0fa0264d87e6b3ae1b9e9cc |
|
BLAKE2b-256 | 2bd37d5ca37c83b40fd26e6bcef8a145227f81a29c198de8bf93bc9b8664716a |