Skip to content

Commit

Permalink
ci: work around cli/cli#6198
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Sep 6, 2022
1 parent 6db35c1 commit d2d4075
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -426,29 +426,4 @@ jobs:
if [[ "${{ needs.prepare.outputs.prerelease }}" == "true" ]]; then
OPTS="${OPTS} -p"
fi
gh release create $OPTS -d --title "${{ needs.prepare.outputs.version }}" -F /tmp/changelog.md $TAG
- name: List Releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# list releases
gh release list
- name: Upload Release Assets
if: needs.prepare.outputs.release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: v${{ needs.prepare.outputs.version }}
run: |
# add static server binaries
gh release upload $TAG $(find server-binaries -type f)
- name: Remove draft status
if: needs.prepare.outputs.release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: v${{ needs.prepare.outputs.version }}
run: |
# finally, remove the draft status
gh release edit $TAG --draft=false
gh release create $OPTS --title "${{ needs.prepare.outputs.version }}" -F /tmp/changelog.md $TAG $(find server-binaries -type f)

0 comments on commit d2d4075

Please sign in to comment.