artefactual-labs / am-packbuild

Archivematica package building scripts
GNU General Public License v2.0
4 stars 6 forks source link

Problem: The commit id is not added to RPMs changelog when using release tag #262

Open mamedin opened 4 years ago

mamedin commented 4 years ago

When using release tag instead of branch name to build packages the RPM changelog is missing the AM and SS commit id.

For instance:

https://jenkins-ci.archivematica.org/job/am-packbuild/job/rpm-jenkinsci/398/ https://jenkins-ci.archivematica.org/job/am-packbuild/job/rpm-jenkinsci/399/

[root@am110rpm ~]# rpm -q --changelog archivematica-storage-service
* Tue Mar 31 2020 Artefactual <sysadmin@artefactual.com> - 0.16.0-1
- Packbuild: 7d0527383fb0d11ddd2538c2ba4130f1b293b0ab
- Storage Service:

* Wed Jan 09 2019 - sysadmin@artefactual.com
- Create collectstatic directory in post script

* Tue Dec 11 2018 - sysadmin@artefactual.com
- Update collectstatic command: added --clear option

[root@am110rpm ~]# rpm -q --changelog archivematica-mcp-server
* Tue Mar 31 2020 Artefactual <sysadmin@artefactual.com> - 1.11.0-1
- Packbuild: 7d0527383fb0d11ddd2538c2ba4130f1b293b0ab
- Archivematica:

* Wed Jan 09 2019 - sysadmin@artefactual.com
- Create collectstatic directory in post script

* Tue Dec 11 2018 - sysadmin@artefactual.com
- Update collectstatic command: added --clear option