Merge pull request 'refs #1789 include build date in VERSION.txt' (#7) from improve-version into main
Reviewed-on: #7main
commit
1ef837e053
|
@ -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
|
|
@ -1 +1 @@
|
|||
OpenGnsys Client 3.2.0
|
||||
OpenGnsys Client 3.2.1
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue