Skip to content

Packaging: Auto-generate changelog during configure #15528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
modules.order
Makefile
Makefile.in
changelog
*.patch
*.orig
*.tmp
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ ZFS_AC_DEBUG_INVARIANTS

AC_CONFIG_FILES([
contrib/debian/rules
contrib/debian/changelog
Makefile
include/Makefile
lib/libzfs/libzfs.pc
Expand Down
6 changes: 6 additions & 0 deletions contrib/debian/changelog → contrib/debian/changelog.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
openzfs-linux (@VERSION@-1) unstable; urgency=low

* OpenZFS @VERSION@ is tagged.

-- Umer Saleem <[email protected]> Wed, 15 Nov 2023 15:00:00 +0500
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume it's ok to leave the date as a static Wed, 15 Nov 2023 15:00:00 +0500 here right?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think should be. Ideally this should be the date of the release, but since we are not doing that, and the other option is to insert the current time stamp (at the time configure runs), which is not correct either, I think setting to a prior date should be alright.


openzfs-linux (2.2.99-1) unstable; urgency=low

* OpenZFS 2.2 is tagged.
Expand Down