Rename keys directory to be more consistent with others.
This commit is contained in:
parent
c94545e01b
commit
0a76bdaf84
@ -283,8 +283,8 @@ module.exports = (grunt) ->
|
|||||||
accounts:
|
accounts:
|
||||||
default:
|
default:
|
||||||
publish: true
|
publish: true
|
||||||
client_id: '<%= grunt.file.readJSON("../"+pkg.name+"-keys/chrome-store.json").installed.client_id %>'
|
client_id: '<%= grunt.file.readJSON("../"+pkg.meta.path+".keys/chrome-store.json").installed.client_id %>'
|
||||||
client_secret: '<%= grunt.file.readJSON("../"+pkg.name+"-keys/chrome-store.json").installed.client_secret %>'
|
client_secret: '<%= grunt.file.readJSON("../"+pkg.meta.path+".keys/chrome-store.json").installed.client_secret %>'
|
||||||
extensions:
|
extensions:
|
||||||
extension:
|
extension:
|
||||||
appID: '<%= pkg.meta.chromeStoreID %>'
|
appID: '<%= pkg.meta.chromeStoreID %>'
|
||||||
@ -415,7 +415,7 @@ module.exports = (grunt) ->
|
|||||||
grunt.registerTask 'sign-channel', 'Sign CRX package', (channel) ->
|
grunt.registerTask 'sign-channel', 'Sign CRX package', (channel) ->
|
||||||
done = @async()
|
done = @async()
|
||||||
pkg = grunt.config 'pkg'
|
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}
|
archive = grunt.file.read "testbuilds/#{pkg.name}#{pkg.meta.suffix[channel]}.crx.zip", {encoding: null}
|
||||||
extension = new crx {privateKey, loaded: true}
|
extension = new crx {privateKey, loaded: true}
|
||||||
extension.pack(archive).then((data) ->
|
extension.pack(archive).then((data) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user