-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2b6ef4
commit 2ef682c
Showing
5 changed files
with
76 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
*.class | ||
*.log | ||
|
||
# sbt specific | ||
dist/* | ||
target/ | ||
lib_managed/ | ||
src_managed/ | ||
project/boot/ | ||
project/plugins/project/ | ||
|
||
# Scala-IDE specific | ||
.scala_dependencies | ||
.idea | ||
|
||
# emacs specific | ||
*~ | ||
|
||
# auto-generated files | ||
processor/start-script/run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
if [ $# -ne 1 ]; then | ||
echo "Usage: increase-version.sh toversion" | ||
exit 1 | ||
fi | ||
|
||
OLDVERSION=$(grep "version := " build.sbt | sed 's/[^"]*"\([^"]*\).*/\1/') | ||
NEWVERSION=$1 | ||
|
||
echo "Bumping version from $OLDVERSION to $NEWVERSION ..." | ||
|
||
sed -i "s/$OLDVERSION/$NEWVERSION/g" build.sbt | ||
|
||
sed -i "s/$OLDVERSION/$NEWVERSION/g" README.md | ||
|
||
echo "Checking for old occurences of $OLDVERSION ..." | ||
|
||
grep -F -R "$OLDVERSION" src | ||
grep -F --directories=skip "$OLDVERSION" * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters