Added major versioning to build process.
This commit is contained in:
parent
a82b075a01
commit
207313da5a
|
@ -6,12 +6,13 @@ _tmp="resources/openpgp.js.tmp";
|
|||
_raw="resources/openpgp.js";
|
||||
_min="resources/openpgp.min.js";
|
||||
_compiler="resources/compiler.jar";
|
||||
_majorVersion=".1"
|
||||
:>"$_raw"
|
||||
:>"$_min"
|
||||
|
||||
echo "Concatenating..."
|
||||
find "$_src" -name "*.js" -exec cat "{}" >> "$_tmp" \;
|
||||
sed "s/OpenPGP.js VERSION/OpenPGP.js $(date +%Y%m%d)/g" "$_tmp" > "$_raw";
|
||||
sed "s/OpenPGP.js VERSION/OpenPGP.js v$_majorVersion.$(date +%Y%m%d)/g" "$_tmp" > "$_raw";
|
||||
rm "$_tmp";
|
||||
|
||||
echo "Minimizing..."
|
||||
|
|
Loading…
Reference in New Issue
Block a user