mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00

Changes summarised in doc/changelog.md. Additionally, change version excmd to stop copying to clipboard as it was causing the command line to be hidden, and add version number to the new tab page.
10 lines
452 B
Bash
Executable file
10 lines
452 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
gitversion=$(git describe --tags | cut -d"-" -f2-)
|
|
manversion=$(grep '"version":' ./src/manifest.json | cut -d":" -f2 | tr -d \" | tr -d , | cut -d" " -f2)
|
|
version=$manversion-$gitversion
|
|
|
|
sed -i.bak 's/REPLACE_ME_WITH_THE_VERSION_USING_SED/'$version'/' ./build/background.js
|
|
sed -i.bak 's/REPLACE_ME_WITH_THE_VERSION_USING_SED/'$version'/' ./build/static/newtab.html
|
|
rm ./build/background.js.bak
|
|
rm ./build/static/newtab.html.bak
|