Skip to content

Commit b92820c

Browse files
author
Travis CI
committed
Releasing v1.7
1 parent ffbfda2 commit b92820c

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
```bash
33
./github-cli.sh create-tag mageddo-projects github-cli v1.3 master
44
```
5+
6+
### Creating a release
7+
```bash
8+
./github-cli.sh create-release mageddo-projects github-cli v1.5 master "some description"
9+
```

github-cli.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
set -e
44

55
create_release(){
6-
local USERNAME=$1
7-
local REPOSITORY=$2
8-
local APP_VERSION=$3
9-
local CURRENT_BRANCH=$4
10-
local DESC=$5
6+
local USERNAME="$1"
7+
local REPOSITORY="$2"
8+
local APP_VERSION="$3"
9+
local CURRENT_BRANCH="$4"
10+
local DESC="$5"
1111
local PAYLOAD='{
1212
"tag_name": "%s",
1313
"target_commitish": "%s",
@@ -54,11 +54,11 @@ create_tag(){
5454
}
5555

5656
# REPO_TOKEN=$2
57-
USERNAME=$2
58-
REPOSITORY=$3
59-
APP_VERSION=$4
60-
CURRENT_BRANCH=$5
61-
DESC=$6
57+
USERNAME="$2"
58+
REPOSITORY="$3"
59+
APP_VERSION="$4"
60+
CURRENT_BRANCH="$5"
61+
DESC="$6"
6262

6363
echo "> USERNAME=${USERNAME}, REPOSITORY=${REPOSITORY}, APP_VERSION=${APP_VERSION}, CURRENT_BRANCH=${CURRENT_BRANCH}, DESC=${DESC}"
6464

0 commit comments

Comments
 (0)