Skip to content

Commit

Permalink
fix some error for release script
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Aug 12, 2020
1 parent 75f587d commit 6e53d50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
ini-values: post_max_size=56M, short_open_tag=On #optional, setup php.ini configuration
coverage: none #optional, setup coverage driver: xdebug, none

- name: Install dependencies
- name: Install dependencies # eg: v1.0.3
run: |
tag1=${GITHUB_REF#refs/*/}
echo "release tag: ${tag1}"
Expand All @@ -46,13 +46,11 @@ jobs:

- name: Build phar and send to github assets
run: |
tag=${GITHUB_REF:10}
echo "release tag: ${tag}"
php -d phar.readonly=0 bin/kite phar:pack -o kite-${tag}.phar
php -d phar.readonly=0 bin/kite phar:pack -o kite-${RELEASE_TAG}.phar --no-progress
- uses: meeDamian/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ env.RELEASE_TAG }}
name: ${{ env.RELEASE_NAME }}
files: kite-${tag}.phar
files: kite-${{ env.RELEASE_TAG }}.phar
4 changes: 4 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ ln -s $PWD/bin/kite /usr/local/bin/kite
chmod a+x bin/kite
```

### 下载PHAR

- https://github.com/inhere/kite/releases

## 使用帮助

```bash
Expand Down

0 comments on commit 6e53d50

Please sign in to comment.