diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a2e2dd0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*.xpi
+*.exe
diff --git a/install.rdf b/install.rdf
index b08d03e..bad43d8 100644
--- a/install.rdf
+++ b/install.rdf
@@ -59,7 +59,7 @@
{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}
27.0.0
- 28.*
+ 29.*
diff --git a/release.cmd b/release.cmd
new file mode 100644
index 0000000..6e5cc97
--- /dev/null
+++ b/release.cmd
@@ -0,0 +1,9 @@
+@echo off
+set VER=1.2.2
+
+sed -i -E "s/version>.+?%VER%" install.rdf
+sed -i -E "s/version>.+?%VER%; s/download\/.+?\/pxruler-.+?\.xpi/download\/%VER%\/pxruler-%VER%\.xpi/" update.xml
+
+set XPI=pxruler-%VER%.xpi
+if exist %XPI% del %XPI%
+zip -r9q %XPI% * -x .git/* .gitignore update.xml LICENSE README.md *.cmd *.xpi *.exe
diff --git a/update.xml b/update.xml
new file mode 100644
index 0000000..2c2a835
--- /dev/null
+++ b/update.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+ 1.2.2
+
+
+ {8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}
+ 27.0
+ 29.*
+ https://github.com/JustOff/proxy-privacy-ruler/releases/download/1.2.2/pxruler-1.2.2.xpi
+
+
+
+
+ {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
+ 38.0
+ 56.*
+ https://github.com/JustOff/proxy-privacy-ruler/releases/download/1.2.2/pxruler-1.2.2.xpi
+
+
+
+
+ {92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
+ 2.40
+ 2.*
+ https://github.com/JustOff/proxy-privacy-ruler/releases/download/1.2.2/pxruler-1.2.2.xpi
+
+
+
+
+
+
+
+