Skip to content

Commit

Permalink
v0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
blavenie committed Aug 25, 2016
1 parent 2b2dbbd commit ae71527
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ if [ "_$CESIUM_DIR" = "_" ]; then
fi

latest_version() {
echo "0.2.5" #lastest
echo "v0.2.7" #lastest
}

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() {
Expand Down
6 changes: 4 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
;;
esac

exit

# Update config file
gulp config --env default

Expand All @@ -53,14 +55,14 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
echo "**********************************"

if [[ $4 =~ ^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$ && "_$5" != "_" ]]; then
./github.sh $1 $2
./github.sh $1 $4 $5
else
echo " WARN - missing arguments: "
echo " user:password 'release_description'"
echo
echo " Binaries files NOT sending to github repository"
echo " Please run:"
echo " > ./github.sh user:password 'release_description'"
echo " > ./github.sh pre|rel user:password 'release_description'"
echo
fi

Expand Down

0 comments on commit ae71527

Please sign in to comment.