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:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- $YNH_BUILD_DIR/*.deb
|
- $YNH_BUILD_DIR/*.deb
|
||||||
key: "$CI_COMMIT_REF_SLUG"
|
key: "$CI_PIPELINE_ID"
|
||||||
|
|
||||||
.build_script: &build_script |
|
.build_script: &build_script |
|
||||||
cd $YNH_BUILD_DIR/$PACKAGE
|
cd $YNH_BUILD_DIR/$PACKAGE
|
||||||
VERSION=$(dpkg-parsechangelog -S Version 2>/dev/null)
|
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."
|
dch --package "${PACKAGE}" --force-bad-version -v "${VERSION_NIGHTLY}" -D "unstable" --force-distribution "Daily build."
|
||||||
debuild -us -uc
|
debuild -us -uc
|
||||||
|
|
||||||
|
@ -118,7 +118,7 @@ install:
|
||||||
paths:
|
paths:
|
||||||
- $YNH_BUILD_DIR/
|
- $YNH_BUILD_DIR/
|
||||||
policy: pull
|
policy: pull
|
||||||
key: "$CI_COMMIT_REF_SLUG"
|
key: "$CI_PIPELINE_ID"
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# POSTINSTALL
|
# POSTINSTALL
|
||||||
|
|
Loading…
Add table
Reference in a new issue