Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Utility for creating and uploading zip packages

Project Description

Overview

The release-manager is a Python utility for easily uploading zipped binaries to a destination target. It allows you to:

  • Create new package versions
  • Upload artifacts to said version
  • Currently only support zip
  • Upload to multiple targets
  • Currently only supports BinTray
  • Combine N binaries into the artifact that is then uploaded
  • Upload N artifacts to for the package

Installing

  • Option 1: Download this repository and run: python setup.py install
  • Option 2: Install from pip: pip install release-manager

Usage

usage: release-manager.py [-h] [--config CONFIG] [--make-version]
                          [--make-artifact] [--upload-artifact]
                          [--check-version] [--version]

BinTray utility for creating and uploading zip packages.

optional arguments:
  -h, --help         show this help message and exit
  --config CONFIG    the path to the configuration yaml file
  --make-version     makes a new version for the package
  --make-artifact    makes the artifacts that will be uploaded
  --upload-artifact  uploads the artifacts to the targets
  --check-version    checks that the version specified matches the build
  --version          show program's version number and exit

Please note when specifying the options to run that they will be applied to every package in your config file.

Options:

  • You cannot upload the artifacts without also making the artifacts:
  • --upload-artifact requires --make-artifact
  • Checking the version is useful for automated build tools such as travis to assert that you have the correct build versions specified

Config

The release-manager requires a config be passed to it in the form of a yaml file. You can find a sample config in the resources directory.

Environment resolver

To get values from the environment at runtime set the value like the following:

some_env_key: <%= ENV['SOME_ENV_VALUE'] %>

Shell resolver

To evaluate a shell command at runtime set the value like the following:

some_cmd_value: <%= CMD['cat VERSION'] %>

NOTE: If the command does not exit with code 0 the config will not load.

Release History

This version
History Node

0.1.0-rc16

History Node

0.1.0-rc15

History Node

0.1.0-rc14

History Node

0.1.0-rc13

History Node

0.1.0-rc12

History Node

0.1.0-rc11

History Node

0.1.0-rc10

History Node

0.1.0-rc9

History Node

0.1.0-rc8

History Node

0.1.0-rc7

History Node

0.1.0-rc6

History Node

0.1.0-rc5

History Node

0.1.0-rc4

History Node

0.1.0-rc3

History Node

0.1.0-rc2

History Node

0.1.0-rc1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
release-manager-0.1.0-rc16.tar.gz
(11.1 kB) Copy SHA256 Hash SHA256
Source Sep 14, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting