version date format

Signed-off-by: Gwenhael Le moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le moine 2010-01-16 10:43:26 +07:00
parent 938f5c957f
commit 08d0e43ec2
4 changed files with 13 additions and 12 deletions

View file

@ -2,7 +2,7 @@
set -x
PRGNAM=laptop-mode-tools
VERSION=1.52
VERSION=1.53
BUILD=1

View file

@ -1,8 +1,10 @@
#!/bin/sh -x
# variables
VERSION=git$(date +"%Y%m%d")
BUILD=1
BRANCH=master
VERSION=${VERSION:-${BRANCH}_$(date +"%Y.%m.%d_%H:%M")}
ARCH=${ARCH:-$(uname -m)}
BUILD=${BUILD:-1}
PACKAGER=cyco
TMP=/tmp
@ -11,8 +13,6 @@ CWD=$(pwd)
PRGNAM=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$PRGNAM
ARCH=x86_64
REPOSITORY=/home/cycojesus/projets/packages/repositories/$PRGNAM
PREFIX=/usr

View file

@ -1,8 +1,10 @@
#!/bin/sh -x
# variables
VERSION=git$(date +"%Y%m%d")
BUILD=1
BRANCH=master
VERSION=${VERSION:-${BRANCH}_$(date +"%Y.%m.%d_%H:%M")}
ARCH=${ARCH:-$(uname -m)}
BUILD=${BUILD:-1}
PACKAGER=cyco
TMP=/tmp
@ -11,8 +13,6 @@ CWD=$(pwd)
APP_NAME=$(basename $CWD)
PKG=$TMP/$PACKAGER/pkg-$APP_NAME
ARCH=x86_64
REPOSITORY=/home/cycojesus/projets/packages/repositories/$APP_NAME
PREFIX=/usr

View file

@ -7,9 +7,10 @@ INCLUDE_OBVIOUS=1
CWD=$(pwd)
PRGNAM=awesome
VERSION=git
ARCH=$(uname -m)
BUILD=$(date +%Y%m%d%H%M)
BRANCH=master
VERSION=${VERSION:-${BRANCH}_$(date +"%Y.%m.%d_%H:%M")}
ARCH=${ARCH:-$(uname -m)}
BUILD=1
PACKAGER=cyco
TMP=/tmp/$PACKAGER