Skip to content
Snippets Groups Projects
Commit ae71527d authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

v0.2.7

parent 2b2dbbd0
Branches
Tags
No related merge requests found
...@@ -15,11 +15,11 @@ if [ "_$CESIUM_DIR" = "_" ]; then ...@@ -15,11 +15,11 @@ if [ "_$CESIUM_DIR" = "_" ]; then
fi fi
latest_version() { latest_version() {
echo "0.2.5" #lastest echo "v0.2.7" #lastest
} }
api_release_url() { api_release_url() {
echo "https://api.github.com/repos/duniter/cesium/releases/tags/v$(latest_version)" echo "https://api.github.com/repos/duniter/cesium/releases/tags/$(latest_version)"
} }
download() { download() {
......
...@@ -33,6 +33,8 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then ...@@ -33,6 +33,8 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
;; ;;
esac esac
exit
# Update config file # Update config file
gulp config --env default gulp config --env default
...@@ -53,14 +55,14 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then ...@@ -53,14 +55,14 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
echo "**********************************" echo "**********************************"
if [[ $4 =~ ^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$ && "_$5" != "_" ]]; then if [[ $4 =~ ^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$ && "_$5" != "_" ]]; then
./github.sh $1 $2 ./github.sh $1 $4 $5
else else
echo " WARN - missing arguments: " echo " WARN - missing arguments: "
echo " user:password 'release_description'" echo " user:password 'release_description'"
echo echo
echo " Binaries files NOT sending to github repository" echo " Binaries files NOT sending to github repository"
echo " Please run:" echo " Please run:"
echo " > ./github.sh user:password 'release_description'" echo " > ./github.sh pre|rel user:password 'release_description'"
echo echo
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment