mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-07 15:49:23 +03:00
Delete existing asset before uploading new one
This commit is contained in:
parent
6ca3c90abe
commit
8374911dab
@ -33,6 +33,8 @@ module.exports = (gruntObject) ->
|
||||
publishRelease release, (error) ->
|
||||
return done(error) if error?
|
||||
getAtomDraftRelease (error, release) ->
|
||||
return done(error) if error?
|
||||
deleteExistingAsset release, (error) ->
|
||||
return done(error) if error?
|
||||
uploadAsset(release, done)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user