Skip to content

Commit

Permalink
Удаление автоматического увеличения номера билда (оказался невостребо…
Browse files Browse the repository at this point in the history
…ванным)
  • Loading branch information
abbat committed May 27, 2012
1 parent d4c3886 commit 0fa2b19
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions dev/build.sh
Expand Up @@ -13,13 +13,6 @@ PROJECT_NAME="avalon"
# переход в директорию проекта
cd ../

# обновление даты и номера билда
AVALON_DATE=$(date "+%Y-%m-%dT%H:%M:%S%z")
AVALON_BUILD=$(awk '/AVALON_BUILD/ { print $3+1; }' version.h)
cp -f version.h version.tmp
cat version.tmp | sed "s/AVALON_BUILD .*/AVALON_BUILD ${AVALON_BUILD}/" | sed "s/AVALON_DATE \".*\"/AVALON_DATE \"${AVALON_DATE}\"/" > version.h
rm -f version.tmp

# очистка
make clean

Expand Down

0 comments on commit 0fa2b19

Please sign in to comment.