Rename keys directory to be more consistent with others.

This commit is contained in:
ccd0 2016-04-08 20:52:40 -07:00
parent c94545e01b
commit 0a76bdaf84

View File

@ -283,8 +283,8 @@ module.exports = (grunt) ->
accounts:
default:
publish: true
client_id: '<%= grunt.file.readJSON("../"+pkg.name+"-keys/chrome-store.json").installed.client_id %>'
client_secret: '<%= grunt.file.readJSON("../"+pkg.name+"-keys/chrome-store.json").installed.client_secret %>'
client_id: '<%= grunt.file.readJSON("../"+pkg.meta.path+".keys/chrome-store.json").installed.client_id %>'
client_secret: '<%= grunt.file.readJSON("../"+pkg.meta.path+".keys/chrome-store.json").installed.client_secret %>'
extensions:
extension:
appID: '<%= pkg.meta.chromeStoreID %>'
@ -415,7 +415,7 @@ module.exports = (grunt) ->
grunt.registerTask 'sign-channel', 'Sign CRX package', (channel) ->
done = @async()
pkg = grunt.config 'pkg'
privateKey = grunt.file.read "../#{pkg.name}-keys/#{pkg.name}.pem"
privateKey = grunt.file.read "../#{pkg.meta.path}.keys/#{pkg.name}.pem"
archive = grunt.file.read "testbuilds/#{pkg.name}#{pkg.meta.suffix[channel]}.crx.zip", {encoding: null}
extension = new crx {privateKey, loaded: true}
extension.pack(archive).then((data) ->