From 3b9750518454bb8e3a16be081b08d1a302b54d0b Mon Sep 17 00:00:00 2001 From: tcnksm Date: Thu, 9 Oct 2014 01:46:25 +0900 Subject: [PATCH] :memo: --replace --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ed70cfd..5e1e6bb 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,12 @@ $ ghr v0.1.0 pkg/ --> Uploading: pkg/ghr_0.1.0_windows_amd64.zip ``` +Or if you want to replace artifact which is already uploaded: + +```bash +$ ghr --replace v0.1.0 pkg/ +``` + ## Options You can set some options: @@ -53,6 +59,7 @@ $ ghr \ -u \ # Set Github username -r \ # Set repository name -p \ # Set amount of parallelism (Default is number of CPU) + --replace \ # Replace asset if target is already exists --delete \ # Delete release in advance if it exists --draft \ # Release as draft (Unpublish) --prerelease \ # Crate prerelease