Skip to content

Commit

Permalink
ci: add git status to debug what commit exactly is used during builds…
Browse files Browse the repository at this point in the history
… ...
  • Loading branch information
alexAubin committed Oct 6, 2023
1 parent 2fc2ace commit 0548af0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab/ci/build.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
.build_script: &build_script
- DEBIAN_FRONTEND=noninteractive apt --assume-yes -o Dpkg::Options::="--force-confold" install devscripts --no-install-recommends
- cd $YNH_BUILD_DIR/$PACKAGE
- git status || true
- git log -n 1 || true
- VERSION=$(dpkg-parsechangelog -S Version 2>/dev/null)
- VERSION_NIGHTLY="${VERSION}+$(date +%Y%m%d%H%M)"
- dch --package "${PACKAGE}" --force-bad-version -v "${VERSION_NIGHTLY}" -D "unstable" --force-distribution "Daily build."
Expand Down

0 comments on commit 0548af0

Please sign in to comment.