Skip to content

Commit

Permalink
Ready for 1.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin-st committed Apr 17, 2016
1 parent 2144e3e commit 681d018
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

"name": "Material Freebox OS",
"description": "Redesign de l'interface de Freebox OS",
"version": "1.4",
"version": "1.5.0",
"icons": {
"16": "data/img/icon-16x16.png",
"48": "data/img/icon-48x48.png",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Material Freebox OS",
"name": "material-freebox-os",
"version": "1.4.0",
"version": "1.5.0",
"description": "Redesign de l'interface de Freebox OS",
"main": "data/js/ext-firefox-injecter.js",
"author": "Quentin S.",
Expand Down
6 changes: 5 additions & 1 deletion prepare-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


output_dir = 'release/'
flavours = ['Chrome']
flavours = ['Chrome', 'Firefox']
files_generic = [
'data/css/style.css',
'data/img/*',
Expand All @@ -23,6 +23,7 @@
],
'Firefox': [
'package.json',
'install.rdf',
'data/js/ext-firefox-injecter.js'
]
}
Expand All @@ -49,10 +50,13 @@
os.makedirs(output_dir)

# Read manifest & read version name
manifest = manifests[flavour]
manifest_json = open(manifest)
version = json.load(manifest_json)['version']
output_dir = os.path.join(output_dir, 'Material-Freebox-OS-{}-{}'.format(flavour, version))

# TODO update install.rdf for Firefox flavour

# Expand files list (js/* => [js/script.js, js/injecter.js]
expanded_files = []
files = files_generic + files_flavours[flavour]
Expand Down

0 comments on commit 681d018

Please sign in to comment.