readysteady
v2.0.1
Published
A simple way to upload your assets and prepare a new draft release on GitHub
Downloads
26
Maintainers
Readme
readysteady
A simple way to upload your assets and prepare a new draft release on GitHub
What readysteady does is quite simple:
- Checks that a release for the specified tag doesn't already exist
- Checks if you want to delete an existing draft release for a tagged version and replace with a new one
- Create a draft GitHub release with the name being the same as the tag, except for the
v
prefix - Upload the corresponding file assets
To authenticate with GitHub, it depends on a GITHUB_TOKEN
environment variable.
Why? Interacting directly with the GitHub API, or using one of the many API clients, involves using multiple calls and checks to achieve what should be quite a simple task. readysteady
wraps this all up into a self-contained command with a friendly UX that works great directly on your desktop or within CI.
Install
$ npm install --global readysteady
Example usage
export GITHUB_TOKEN=xyz123
readysteady \
--owner=davidwinter \
--repo=readysteady \
--tag=v1.0.0 \
--files=latest.yml \
--files=readysteady.dmg \
--force
The --force
flag is used to delete any existing draft release and replace it with a new one.
License
MIT © 2021 David Winter