diff options
author | typebrook <typebrook@gmail.com> | 2020-05-02 16:10:45 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-05-02 16:10:45 +0800 |
commit | 4cf08e6c9a9462b9b4544ce0589880fd56e0aa94 (patch) | |
tree | 3595c95670807a32d459c6900cb63768ce8b417d | |
parent | de15fffe6386068df7a42357f4c8eda75f203086 (diff) | |
parent | 4f1d699bfa091f97116f97e46301fec4c3a92083 (diff) |
Merge remote-tracking branch 'origin/dev' into dev
-rw-r--r-- | alias | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -99,7 +99,8 @@ github_api() { | |||
99 | curl --header "Authorization: token $GITHUB_API_TOKEN" $GITHUB_API/$1 | 99 | curl --header "Authorization: token $GITHUB_API_TOKEN" $GITHUB_API/$1 |
100 | } | 100 | } |
101 | gcg() { | 101 | gcg() { |
102 | git clone git@github.com:$1/$2.git && cd $(basename $2) | 102 | local user=$1; local repo=$2; shift; shift |
103 | git clone git@github.com:$user/$repo.git $@ && cd $(basename $repo) $* | ||
103 | } | 104 | } |
104 | release() { | 105 | release() { |
105 | command="github-release.sh\n github_api_token=$GITHUB_API_TOKEN\n repo=typebrook/mapstew\n tag=daily-taiwan-pbf\n type=asset\n filename=taiwan-latest.osm.pbf\n action=upload|overwrite|rename|delete\n extra=" | 106 | command="github-release.sh\n github_api_token=$GITHUB_API_TOKEN\n repo=typebrook/mapstew\n tag=daily-taiwan-pbf\n type=asset\n filename=taiwan-latest.osm.pbf\n action=upload|overwrite|rename|delete\n extra=" |