Skip to content

Commit d768004

Browse files
Script to automatically replace version numbers
1 parent 6f67264 commit d768004

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

replace_version_number.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
REPLACE_WITH="yy.mm"
4+
5+
sed -i 's/yy.mm/'$REPLACE_WITH'/g' make_installer_data.sh
6+
sed -i 's/yy.mm/'$REPLACE_WITH'/g' src/mainwindow.cpp
7+
8+
sed -i 's/yy.mm/'$REPLACE_WITH'/g' src/qr-encoder_ca_ES.ts
9+
sed -i 's/yy.mm/'$REPLACE_WITH'/g' src/qr-encoder_en_GB.ts
10+
sed -i 's/yy.mm/'$REPLACE_WITH'/g' src/qr-encoder_es_ES.ts

0 commit comments

Comments
 (0)