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: /.*/
Release files for github-tagged-release 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| github_tagged_release-0.1.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| github_tagged_release-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / github_tagged_release-0.1.0.tar.gz
| Download URL | github_tagged_release-0.1.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d8395af84b93eb33b0a1c53fed844c44866dd9a55800ee298c0bed774ea5927
|
|
BLAKE2b-256 checksum How to use checksums |
8616ae6a5db7979349a4bf43ae4a7564d969f1092e0fa8d559f270919ea8c00d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Release files / github_tagged_release-0.1.0-py3-none-any.whl
| Download URL | github_tagged_release-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b472e4d44493d308e5ca63d9062c95037f380cb3ee386ab1258ab7312f00ae38
|
|
BLAKE2b-256 checksum How to use checksums |
8905b23f6d9fd079e6ac6ca954f6c0edfd0c49b57cfb511e3a3d9d11b388d135
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|