version date format
Signed-off-by: Gwenhael Le moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
parent
938f5c957f
commit
08d0e43ec2
4 changed files with 13 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
|||
set -x
|
||||
|
||||
PRGNAM=laptop-mode-tools
|
||||
VERSION=1.52
|
||||
VERSION=1.53
|
||||
|
||||
|
||||
BUILD=1
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue