Skip to main content

Simple way to release past(or current) commits within Jira

Project description

# ci-jira-releaser
Simple way to release past(or current) commits within Jira

Credit to @shamrin for the name generator code [https://github.com/shamrin/namesgenerator](https://github.com/shamrin/namesgenerator)

```
usage: ci-jira-releaser [-h] -p PROJECT_KEY -u JIRA_URL [-r REPO_ROOT]
[-U JIRA_USERNAME] [-P JIRA_PASSWORD] --from-commit
FROM_COMMIT [--to-commit TO_COMMIT]
[--project-name PROJECT_NAME]
[--build-number BUILD_NUMBER] [--development]
[--production]

A simple way to label development tags or auto make a releaser within Jira

optional arguments:
-h, --help show this help message and exit
-p PROJECT_KEY, --project-key PROJECT_KEY
The Jira project key: e.g PROJ
-u JIRA_URL, --jira-url JIRA_URL
The url Jira is located at including http://
-r REPO_ROOT, --repo-root REPO_ROOT
The location of the git repo, must have a .git inside
-U JIRA_USERNAME, --jira-username JIRA_USERNAME
environment_var[JIRA_USER]
-P JIRA_PASSWORD, --jira-password JIRA_PASSWORD
environment_var[JIRA_PASSWORD]
--from-commit FROM_COMMIT
Hash of git commit to start grabbing issues from
--to-commit TO_COMMIT
End commit to parse through
--project-name PROJECT_NAME
The name of the project to help generate the label
--build-number BUILD_NUMBER
For build systems usually an environment variable.
Usually passed by Jenkins as a ENV variable.
--development Pass flag if using for development
--production Pass flag if using for production

Don't forget you can use environment variables
```
Examples
--

Development
---
```
ci-jira-releaser -p PROJ -u http://site.atlassian.net --from-commit SHA -r ~/my-project --project-name my-project --build-number 123 --development
```
Production
---
```
ci-jira-releaser -p PROJ -u http://site.atlassian.net --from-commit SHA -r ~/my-project --production
```

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

ci-jira-releaser-0.3.8.7.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

ci_jira_releaser-0.3.8.7-py2-none-any.whl (6.0 kB view details)

Uploaded Python 2

File details

Details for the file ci-jira-releaser-0.3.8.7.tar.gz.

File metadata

File hashes

Hashes for ci-jira-releaser-0.3.8.7.tar.gz
Algorithm Hash digest
SHA256 cf0a7b4fb19fa19ac79a2b443a580426c6ccd5bf822f37492c7765a4116bc0e9
MD5 7541266a97b3f49fe218b9d13cefc6ea
BLAKE2b-256 654aae92c9dd20243929402c844215dc253412315edce237c8e5e9605fe7e1d1

See more details on using hashes here.

File details

Details for the file ci_jira_releaser-0.3.8.7-py2-none-any.whl.

File metadata

File hashes

Hashes for ci_jira_releaser-0.3.8.7-py2-none-any.whl
Algorithm Hash digest
SHA256 cbc1463dd99a3740a965760e0f9e1c7a6506834e6e41c228a2f6ad766eda76fc
MD5 016544fc39bae53481cc1a29060bfb49
BLAKE2b-256 c9e8c3512739d2f6158c50c6069438445a6e6f3aa3a22a74817065cf8dc21455

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page