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
Built Distribution
Close
Hashes for github_tagged_release-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d8395af84b93eb33b0a1c53fed844c44866dd9a55800ee298c0bed774ea5927 |
|
MD5 | 323094cc5ff6ac552a707fa38519258d |
|
BLAKE2b-256 | 8616ae6a5db7979349a4bf43ae4a7564d969f1092e0fa8d559f270919ea8c00d |
Close
Hashes for github_tagged_release-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b472e4d44493d308e5ca63d9062c95037f380cb3ee386ab1258ab7312f00ae38 |
|
MD5 | e4447ef99375c4ef14f0f5624e1c59dc |
|
BLAKE2b-256 | 8905b23f6d9fd079e6ac6ca954f6c0edfd0c49b57cfb511e3a3d9d11b388d135 |