Commit 6fe3bde5 authored by Benoit Lavenier's avatar Benoit Lavenier

minor fix

parent 5fe61f2d
......@@ -76,6 +76,6 @@
<plugin name="cordova-plugin-x-toast" spec="^2.6.0" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
<plugin name="phonegap-plugin-barcodescanner" spec="git+https://github.com/phonegap/phonegap-plugin-barcodescanner.git">
<variable name="CAMERA_USAGE_DESCRIPTION" value=" QRCode" />
<variable name="CAMERA_USAGE_DESCRIPTION" value=" QRCode scan" />
</plugin>
</widget>
......@@ -50,15 +50,14 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
gulp config --env default
echo "----------------------------------"
echo "- Building Android artefact..."
echo "- Building Android artifact..."
echo "----------------------------------"
# Build assets for mobile device
gulp
ionic build android --release
#ionic build firefoxos --release
echo "----------------------------------"
echo "- Building web artefact..."
echo "- Building web artifact..."
echo "----------------------------------"
# Update config file
......@@ -81,7 +80,7 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
if [[ $4 =~ ^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$ && "_$5" != "_" ]]; then
echo "**********************************"
echo "* Uploading artefacts to Github..."
echo "* Uploading artifact to Github..."
echo "**********************************"
./github.sh $1 $4 "'"$5"'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment