Skip to content

Commit

Permalink
mac release script
Browse files Browse the repository at this point in the history
  • Loading branch information
brittohalloran committed Dec 23, 2011
1 parent 9fe40f5 commit 8a9907e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions release
Expand Up @@ -9,12 +9,11 @@ version=$(grep -o 'v[0-9]*\.[0-9]*\.[0-9]*' ./version.php)

echo "----> Currently Notestack $version"
echo "----> Enter new version number (i.e. 'v0.1.1' - no quotes or spaces)"
echo -n "----> "
read version

echo "----> Updating 'version.php' and 'cache.manifest'..."
sed -i 's/v[0-9]*\.[0-9]*\.[0-9]*/'$version'/' ./version.php
sed -i 's/v[0-9]*\.[0-9]*\.[0-9]*/'$version'/' ./cache.manifest
sed -i '' 's/v[0-9]*\.[0-9]*\.[0-9]*/'$version'/' ./version.php
sed -i '' 's/v[0-9]*\.[0-9]*\.[0-9]*/'$version'/' ./cache.manifest

echo "----> Updating 'CHANGELOG.txt'..."
eval $EDITOR CHANGELOG.txt
Expand Down

0 comments on commit 8a9907e

Please sign in to comment.