Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

zalando-stups/python-scm-source

Repository files navigation

Python SCM Source Generator

Build Status

Code Coverage

PyPI Downloads

Latest PyPI version

License

A simple command line tool to generate scm-source.json files according to the STUPS documentation.

Installation

$ sudo pip3 install --upgrade scm-source

Usage

$ scm-source # generate scm-source.json in current directory
$ scm-source -f target/scm-source.json
$ scm-source --author "John Doe"
$ scm-source my/path/to/git/repo -f output/scm-source.json

You can also use it from your Python scripts:

from scm_source import generate_scm_source
generate_scm_source('foo/bar/scm-source.json', 'John Doe')

Releasing

Uploading a new version to PyPI:

$ ./release.sh <NEW-VERSION>