mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
change deb name
This commit is contained in:
parent
471dc025db
commit
09ebed1d0b
1 changed files with 3 additions and 3 deletions
|
@ -21,12 +21,12 @@ stages:
|
|||
cache:
|
||||
paths:
|
||||
- $YNH_BUILD_DIR/*.deb
|
||||
key: "$CI_COMMIT_REF_SLUG"
|
||||
key: "$CI_PIPELINE_ID"
|
||||
|
||||
.build_script: &build_script |
|
||||
cd $YNH_BUILD_DIR/$PACKAGE
|
||||
VERSION=$(dpkg-parsechangelog -S Version 2>/dev/null)
|
||||
VERSION_NIGHTLY="${VERSION}+$CI_PIPELINE_ID+$(date +%Y%m%d%H%M)"
|
||||
VERSION_NIGHTLY="${VERSION}~${CI_COMMIT_REF_SLUG//-}+$(date +%Y%m%d%H%M)"
|
||||
dch --package "${PACKAGE}" --force-bad-version -v "${VERSION_NIGHTLY}" -D "unstable" --force-distribution "Daily build."
|
||||
debuild -us -uc
|
||||
|
||||
|
@ -118,7 +118,7 @@ install:
|
|||
paths:
|
||||
- $YNH_BUILD_DIR/
|
||||
policy: pull
|
||||
key: "$CI_COMMIT_REF_SLUG"
|
||||
key: "$CI_PIPELINE_ID"
|
||||
|
||||
########################################
|
||||
# POSTINSTALL
|
||||
|
|
Loading…
Add table
Reference in a new issue