diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..1276701 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [3.2.1] - 2025-03-31 + +### Changed + +- Include build date in the final VERSION.txt diff --git a/includes/etc/initramfs-tools/scripts/VERSION.txt b/includes/etc/initramfs-tools/scripts/VERSION.txt index 31e454d..432131a 100644 --- a/includes/etc/initramfs-tools/scripts/VERSION.txt +++ b/includes/etc/initramfs-tools/scripts/VERSION.txt @@ -1 +1 @@ -OpenGnsys Client 3.2.0 +OpenGnsys Client 3.2.1 diff --git a/mkoglive.py b/mkoglive.py index 1b25448..9a6d84f 100755 --- a/mkoglive.py +++ b/mkoglive.py @@ -134,7 +134,8 @@ def _main (cfgfile, config, type_client): _debootstrap (btrootfsimg, btrootfsmnt, osarch, oscodename, oshttp) logger.info ('STAGE 2 - copy files to the rootfs') - _initramfs_version (gitrelease, osrelease, curdir) + today = datetime.datetime.now(datetime.timezone.utc).strftime ('%Y%m%d') + _initramfs_version (gitrelease+'_'+today, osrelease, curdir) _copy_og_files (btrootfsimg, btrootfsmnt, osdistrib, oscodename) logger.info ('STAGE 3 - perform tasks within the chroot') @@ -144,7 +145,6 @@ def _main (cfgfile, config, type_client): logger.info ('STAGE 4 - generate distribution files') pxepkg = _get_pxepkg() - today = datetime.datetime.now(datetime.timezone.utc).strftime ('%Y%m%d') nameisoclient = '-'.join (['ogLive', oscodename, osrelease, osarch, gitrelease+'_'+today]) _mkinitrd_squashfs_isofs (bttargetdir, osrelease, btrootfsimg, btrootfsmnt, pxepkg, isolinux_tpl, nameisoclient)