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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe54c7c22865f9ef73e9efe57c6ddb7ada59d2e1f50e1ae5f7472556f1914710 |
|
MD5 | 4e06e42f1bf53fe44f6e1458749dc6df |
|
BLAKE2b-256 | 482b90eec9cd407e21a7b356f7f44fbc4f18b0ca9f1e42fab57597981f19a142 |
Close
Hashes for github_tagged_release-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a65a1befb76bd36e3a4857287b1bbabec966afc1f54bd914b722315cc3fadcb6 |
|
MD5 | eebf94943fb099778d83d7275a7a6044 |
|
BLAKE2b-256 | 2a6d7d83c9033354cadfc321e97db8be00151e27c4534c5548e1f42d9724fb93 |