Skip to content

Commit

Permalink
Remove the draft release, it doesn't contain any files. And a new one…
Browse files Browse the repository at this point in the history
… is created every build.
  • Loading branch information
hepabolu committed Jul 29, 2020
1 parent 0fa8461 commit 59c6c97
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@ jobs:
- name: Publish the book
run: bundle exec rake

- id: create_release
name: Create a draft release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
release_tag='${{ steps.release_info.outputs.tag }}'
hub release create ${{ steps.release_info.outputs.release_flags }} --draft \
-m "Release ${{ steps.release_info.outputs.version }} (in progress)" \
-t $GITHUB_SHA $release_tag
upload_url=$(hub release show -f '%uA' $release_tag)
echo "::set-output name=upload_url::$upload_url"
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
Expand Down

0 comments on commit 59c6c97

Please sign in to comment.