mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-06 06:28:33 +03:00
Delete existing asset before uploading new one
This commit is contained in:
parent
6ca3c90abe
commit
8374911dab
@ -34,7 +34,9 @@ module.exports = (gruntObject) ->
|
||||
return done(error) if error?
|
||||
getAtomDraftRelease (error, release) ->
|
||||
return done(error) if error?
|
||||
uploadAsset(release, done)
|
||||
deleteExistingAsset release, (error) ->
|
||||
return done(error) if error?
|
||||
uploadAsset(release, done)
|
||||
|
||||
logError = (message, error, details) ->
|
||||
grunt.log.error(message)
|
||||
|
Loading…
Reference in New Issue
Block a user