Project

targit

0.0
Low commit activity in last 3 years
No release in over a year
Manages GitHub release assets for pushing binaries and other large files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.9.7
~> 5.0.0
~> 3.8.0

Runtime

~> 0.4.0
~> 3.4.1
~> 1.9.0
~> 4.22.0
 Project Readme

targit

Gem Version GitHub Workflow Status MIT Licensed

Manages GitHub release assets for pushing binaries and other large files

Usage

To upload a file as a release asset:

targit USER/REPO TAG /path/to/file

That will add the given file as a release asset for "TAG" on the given GitHub repo. If you haven't already stored GitHub credentials, it will prompt you for them.

To create a release that doesn't already exist, add -c:

targit -c dock0/arch v0.1.75 ./new_tarball.tar.gz

Specify a name for the release, if desired:

targit -c -r "cool release" dock0/arch v0.1.75 ./new_tarball.tar.gz

Adding -f will replace an existing release/asset, if they exist:

targit -f -c dock0/arch v0.1.75 ./newer_tarball.tar.gz

Use -n NAME to set the name for the asset (it defaults to the file's name):

targit -n special.tar.gz -f -c dock0/arch v0.1.76 ./custom_tarball.tar.gz

Content can also be provided via stdin:

echo "secrit data" | targit -f -c -n foobar dock0/arch v0.0.test

The release can be created as a prerelease via -p.

Using -a lets you use an alternate GitHub credential file, other than the default of ~/.octoauth.yml.

Installation

gem install targit

Contributors

  • Jon Chen for suggesting release assets for storing large files, and for coming up with the workflow that this gem is built to streamline.

License

targit is released under the MIT License. See the bundled LICENSE file for details.