Skip to content

Commit

Permalink
fix release ci (#1770)
Browse files Browse the repository at this point in the history
  • Loading branch information
coderzc authored Mar 21, 2022
1 parent 0ca54c4 commit 14eb6cb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ jobs:
- name: Package
run: |
mvn clean package -DskipTests
mv "$(find hugegraph-*.tar.gz | head -1)" hugegraph-${TAG_NAME/#v/}.tar.gz
- uses: xresloader/upload-to-github-release@master
- name: Rename file
if: contains(env.TAG_NAME, "-")
run: mv "$(find hugegraph-*.tar.gz | head -1)" hugegraph-${TAG_NAME/#v/}.tar.gz

- name: Upload to GitHub
uses: xresloader/upload-to-github-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit 14eb6cb

Please sign in to comment.