mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-02-21 05:36:47 +01:00
Add version script
This commit is contained in:
10
update_version.sh
Executable file
10
update_version.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
VERSION=$1
|
||||
|
||||
SERVICE_FILE="./dist/rpm/_service"
|
||||
sed -i -e "s?\(^.*\"revision\">\).*\(</param>\)?\1$VERSION\2?" $SERVICE_FILE
|
||||
sed -i -e "s?\(^.*\"versionformat\">\).*\(</param>\)?\1$VERSION\2?" $SERVICE_FILE
|
||||
|
||||
MANIFEST_FILE="./webext/manifest.json"
|
||||
sed -i -e "s?\(^.*\"version\": \"\).*\(\",\)?\1$VERSION\2?" $MANIFEST_FILE
|
||||
Reference in New Issue
Block a user