File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 run : npm run build:all && npx electron-builder --publish always
4343 env :
4444 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45+
46+ publish-release :
47+ needs : build
48+ runs-on : ubuntu-latest
49+ steps :
50+ # electron-builder always creates the GitHub release as a draft (its
51+ # config schema doesn't accept "draft: false" as of this app's last
52+ # update) — un-draft it here once every platform has finished
53+ # uploading, so the tag doesn't need a manual "Publish release" click.
54+ - name : Publish the release
55+ env :
56+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57+ run : gh release edit "${{ github.ref_name }}" --repo "${{ github.repository }}" --draft=false
Original file line number Diff line number Diff line change 5050 "publish" : {
5151 "provider" : " github" ,
5252 "owner" : " voidstackloop" ,
53- "repo" : " modelforge" ,
54- "draft" : false
53+ "repo" : " modelforge"
5554 }
5655 },
5756 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments