mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-27 08:32:30 +03:00
Log what release is being uploaded to
This commit is contained in:
parent
f3f94a2af0
commit
e1a1a7efc9
@ -2,6 +2,7 @@
|
||||
|
||||
return if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH isnt 'ks-upload-release'
|
||||
|
||||
|
||||
child_process = require 'child_process'
|
||||
path = require 'path'
|
||||
|
||||
@ -77,6 +78,7 @@ uploadAsset = (release) ->
|
||||
fs.createReadStream(assetPath).pipe(assetRequest)
|
||||
|
||||
getDraftRelease (release) ->
|
||||
console.log("Uploading #{path.basename(assetPath)} asset to #{release.name} release")
|
||||
zipApp ->
|
||||
deleteExistingAsset release, ->
|
||||
uploadAsset(release)
|
||||
|
Loading…
Reference in New Issue
Block a user