aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--alias4
-rwxr-xr-xtools/github-release.sh (renamed from tools/upload-github-release-asset.sh)2
2 files changed, 3 insertions, 3 deletions
diff --git a/alias b/alias
index 0bf6dab..d5da487 100644
--- a/alias
+++ b/alias
@@ -96,7 +96,7 @@ gcg() {
96 git clone git@github.com:$1/$2.git && cd $(basename $2) 96 git clone git@github.com:$1/$2.git && cd $(basename $2)
97} 97}
98github_release_asset() { 98github_release_asset() {
99 command="upload-github-release-asset.sh\n github_api_token=$GITHUB_API_TOKEN\n owner=typebrook\n repo=tig\n tag=LATEST\n type=asset\n filename=$(which tig)\n overwrite=false" 99 command="github-release.sh\n github_api_token=$GITHUB_API_TOKEN\n owner=typebrook\n repo=tig\n tag=LATEST\n type=asset\n filename=$(which tig)\n overwrite=false"
100 prompt "$command" 100 prompt "$command"
101} 101}
102 102
@@ -107,7 +107,7 @@ alias ts='tig status'
107alias ta='tig --all' 107alias ta='tig --all'
108alias get-tig='curl -LO https://github.com/typebrook/tig/releases/download/tig-2.5.0/tig' 108alias get-tig='curl -LO https://github.com/typebrook/tig/releases/download/tig-2.5.0/tig'
109upload_tig() { 109upload_tig() {
110 upload-github-release-asset.sh \ 110 github-release.sh \
111 github_api_token=$GITHUB_API_TOKEN \ 111 github_api_token=$GITHUB_API_TOKEN \
112 owner=typebrook \ 112 owner=typebrook \
113 repo=tig \ 113 repo=tig \
diff --git a/tools/upload-github-release-asset.sh b/tools/github-release.sh
index 1a7048e..4f760c0 100755
--- a/tools/upload-github-release-asset.sh
+++ b/tools/github-release.sh
@@ -22,7 +22,7 @@
22# 22#
23# Example: 23# Example:
24# 24#
25# upload-github-release-asset.sh github_api_token=TOKEN owner=stefanbuck repo=playground tag=v0.1.0 filename=./build.zip overwrite=true 25# github-release.sh github_api_token=TOKEN owner=stefanbuck repo=playground tag=v0.1.0 type=asset filename=./build.zip overwrite=true
26# 26#
27 27
28# Check dependencies. 28# Check dependencies.