Repository is archived
No commit activity in last 3 years
No release in over 3 years
Add your lastest commit to your GitHub repo's draft release
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.4.2
~> 3.2.0

Runtime

~> 0.10.3
~> 3.0
 Project Readme

Update Draft Release

Add your latest commit message to your GitHub repository's draft release.

Setup

Install this gem with gem install update-draft-release.

Create ~/.netrc file with your GitHub login/password:

machine api.github.com
  login your_login_id
  password your_password_or_token

To install this gem from repository, clone and run bundle install & rake install in it.

Usage

$ update-draft-release your/repo

INFO: Logged in as: zhuochun
INFO: Repository used: your/repo
INFO: Prepare to insert line: New commit e4d5c0bf29055187d13e5e83c909
##################################################
Draft
==================================================
Old commit 11124f700882108e69ecdcf04074

New commit e4d5c0bf29055187d13e5e83c909
##################################################
Ok? (Y/N): y
INFO: Updating to URL: https://www.github.com/your/repo/draft
INFO: Release 'Draft' updated!

Options

  • --at-top-level: Insert into top level.
  • --at-the-end: Insert at the end.
  • --in-secton_name: Insert into the section with heading 'Section Name'. E.g. --in-gamma.
  • --create-section: Create a new section if not exists, used with --in-secton_name.
  • --open-url: Open the release URL after update succeed.
  • --can-can: Skip the final confirmation.
  • --i-am-kiasu: Make sure the final confirmation is not skipped.

More

Run gem uninstall update-draft-release to uninstall.