Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
JustOff committed Feb 22, 2021
1 parent 157dcd0 commit 11ae0dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"Mikhail Khvoinitsky <dark-bg-light-text-mozilla@khvoinitsky.org>"
],
"title": "Advanced Night Mode",
"version": "1.0.12",
"version": "1.0.13",
"permissions": {
"private-browsing": true
},
"preferencesURL": "resource://advancednightmode-at-off-dot-justoff/data/preferences.html",
"main": "lib/index.js",
"id": "AdvancedNightMode@Off.JustOff",
"name": "advanced-night-mode-1.0.12",
"name": "advanced-night-mode-1.0.13",
"icon": "icon.png",
"homepage": "https://github.com/JustOff/advanced-night-mode",
"updateURL": "https://raw.githubusercontent.com/JustOff/advanced-night-mode/master/update.xml"
Expand Down
2 changes: 1 addition & 1 deletion release.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set VER=1.0.12
set VER=1.0.13

sed -i -E "s/\"version\": \".+?\"/\"version\": \"%VER%\"/; s/\"name\": \".+?\"/\"name\": \"advanced-night-mode-%VER%\"/" package.json
sed -i -E "s/version>.+?</version>%VER%</; s/download\/.+?\/advanced-night-mode-.+?\.xpi/download\/%VER%\/advanced-night-mode-%VER%\.xpi/" update.xml
Expand Down
4 changes: 2 additions & 2 deletions update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<RDF:Seq>
<RDF:li>
<RDF:Description>
<em:version>1.0.12</em:version>
<em:version>1.0.13</em:version>
<em:targetApplication>
<RDF:Description>
<em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
<em:minVersion>24.0</em:minVersion>
<em:maxVersion>29.*</em:maxVersion>
<em:updateLink>https://github.com/JustOff/advanced-night-mode/releases/download/1.0.12/advanced-night-mode-1.0.12.xpi</em:updateLink>
<em:updateLink>https://github.com/JustOff/advanced-night-mode/releases/download/1.0.13/advanced-night-mode-1.0.13.xpi</em:updateLink>
</RDF:Description>
</em:targetApplication>
</RDF:Description>
Expand Down

0 comments on commit 11ae0dd

Please sign in to comment.