repo.or.cz
/
vimkeys.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
raised the version number
[vimkeys.git]
/
inst
blob
353db39263d2d36b4bf739117366fc1178e6f9c1
1
#!/usr/bin/ruby
2
3
Dir
.
chdir
"xpi"
4
5
install
=
File
.
read
(
"install.rdf"
)
6
install
.
sub
!(
/(version>\d+\.\d+\.)(\d+)/
)
do
|
v
|
7
"#$1#{$2.to_i + 1}"
8
end
9
10
File
.
open
(
"install.rdf"
,
"w"
) { |
f
|
f
.
write
(
install
) }
11
12
system
"apack vimkeys.zip *"
13
File
.
rename
'vimkeys.zip'
,
"../vimkeys.xpi"