Skip to content

Commit 9f04236

Browse files
committed
Update build-client-deb.yml
1 parent a40fdec commit 9f04236

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build-client-deb.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,20 @@ jobs:
3434
id: version
3535
run: echo "VERSION=$(cat bareos-repo/VERSION)" >> $GITHUB_ENV
3636

37+
- name: Prepare debian/changelog
38+
working-directory: ./bareos-repo
39+
run: |
40+
VERSION=$(cat VERSION)
41+
cat > debian/changelog <<EOF
42+
bareos ($VERSION-1) stable; urgency=medium
43+
44+
* Automated build from GitHub Actions.
45+
46+
-- Libertech <contact@libertech.fr> $(date -R)
47+
EOF
3748
- name: Build DEB packages
3849
working-directory: ./bareos-repo
3950
run: |
40-
cp CHANGELOG.md debian/changelog
4151
# S'assurer que le changelog est là
4252
ls -la debian
4353
head -20 debian/changelog

0 commit comments

Comments
 (0)