diff --git a/.travis.yml b/.travis.yml index f3ccf477..2e6ba931 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ after_success: - git commit -m "Set build VERSION number to v0.1."$TRAVIS_BUILD_NUMBER - git tag $GIT_TAG -a -m "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER" - git push --quiet https://$GITHUBKEY@github.com/reedia/dotfiles $GIT_TAG > /dev/null 2>&1 + - HASH=$(git log -n 1 --pretty=format:"%H") deploy: provider: releases skip-cleanup: true @@ -15,8 +16,6 @@ deploy: api_key: secure: uTEGlCyxmVlq3xTYKdlRSttmhdXsGskn9gnBjbGUfzKd1V0h3Pg7AJ9AQixbJ5U2Yvg25QPEx3n3jmMCQowbAGqCRUe/C2nbo6AtugbqfDTKCq7b1BdQpM/tiX0/viyZDCLZ1kI/hI18DuiveSmi4XUMO2uKrId2/yJ2qk2kKLGq442HO6m/kPF867RqhNpbybgsy7l+7iEx7z5vLFYPYZybK7tc9I63XTrSHdyHGyCqEF0/PVqlPWSqeBlCasiQbK5BYvfmumfzpDffKMo1r4/SJH07hp3xt/IgUTZZ+6yA/MOUSZENgXWy44OU0RZam6PTHtJ+k6mOU4GTEghTwCeelmUpi1BNMQo2EcPBxaEP7UMUg154N6xAK2pRcVumfFuDFsztX7kUBIwJ/vVtYItByaw0fqOe+k3QBvLgYaBu07bgOcWy+bBJim0Rz8lIZkvpjhBipbFR6INCKK7DYKSIXOd1AUiEvOVxLs8R+Vc8VxU4lasTU5AYG/X75deGOcJNUX5gZMi0f/nMFbP1OPyNGWAHh4GZ4nHUUWNTrt9keM+1gVm+0nbo5Cj+M+L0Rr3yf7mlSmclL9cTE/kwYOl+7THT+t8DsuROoEymWrbP83eZ8JlJ7kingxhbA1hgfqUbPk+inC8y/al2BepbOw8OKiqp/MUOnZzzjFx5aAM= name: Dotfiles v0.1.$TRAVIS_BUILD_NUMBER - body: "Change Log:
Release created on $(date +'%d/%m/%Y') - at $(date +'%T')
A set of Mac OS X configuration files. Designed to - fit your web life." + body: "Change Log:
Release created on $(date +'%d/%m/%Y') at $(date +'%T')
A set of Mac OS X configuration files. Designed to fit your web life.
Integrated branch public:${UPDATED_HASH} at $(date +'%Y-%m-%d %H:%M:%S')" on: repo: reedia/dotfiles \ No newline at end of file diff --git a/bash/.bash_profile b/bash/.bash_profile index 843c11dd..4e0e46b1 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -255,17 +255,17 @@ function filestolower(){ for x in `ls` do skip=false - if [ -d $x ]; then - read -p "'$x' is a folder, rename it? [y/n]: " renamedir + if [ -d "$x" ]; then + read -rp "'$x' is a folder, rename it? [y/n]: " renamedir if [ "$renamedir" = "n" ] || [ "$renameDir" = "N" ]; then skip=true fi fi if [ "$skip" == "false" ]; then - lc=`echo $x | tr '[A-Z]' '[a-z]'` - if [ $lc != $x ]; then + lc=$(echo "$x" | tr ':A-Z:' ':a-z:') + if [ "$lc" != "$x" ]; then echo "renaming $x -> $lc" - mv $x $lc + mv "$x" "$lc" fi fi done diff --git a/package.json b/package.json index 89542c1a..19b292bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reedia-dotfiles", - "version": "0.1.89", + "version": "0.1.93", "description": "Dotfiles - A set of Mac OS X configuration files - Simply designed to fit your shell life.", "keywords": [ "dotfiles",