fix changelog being sed'd
This commit is contained in:
parent
ac066e4bdc
commit
8c679f1b88
4 changed files with 2 additions and 19 deletions
|
@ -2,10 +2,6 @@ kind: pipeline
|
|||
type: docker
|
||||
name: default
|
||||
|
||||
environment:
|
||||
RPM_PACKAGER_NAME: 'askiiart'
|
||||
RPM_PACKAGER_EMAIL: 'rpm@askiiart.net'
|
||||
|
||||
steps:
|
||||
- name: Build polycat fedora package
|
||||
image: fedora
|
||||
|
|
|
@ -1,10 +1 @@
|
|||
# Polycat (fedora)
|
||||
|
||||
TODO: Add proper changelog updates
|
||||
|
||||
## Environment variables
|
||||
|
||||
**REQUIRED**
|
||||
|
||||
- RPM packager name - `RPM_PACKAGER_NAME`
|
||||
- RPM packager email - `RPM_PACKAGER_EMAIL`
|
||||
|
|
|
@ -29,5 +29,5 @@ install -Dm644 ./polycat.ttf %{buildroot}%{_datadir}/fonts/polycat/polycat.ttf
|
|||
%{_datadir}/fonts/polycat/polycat.ttf
|
||||
|
||||
%changelog
|
||||
* DATE_HERE RPM_PACKAGER_NAME <RPM_PACKAGER_EMAIL>
|
||||
- CHANGELOG_MESSAGE_HERE
|
||||
* Thu Mar 6 2025 askiiart <dev@askiiart.net>
|
||||
- Add zstd (previous changes were not listed here)
|
||||
|
|
4
run.sh
4
run.sh
|
@ -22,10 +22,6 @@ rpmdev-setuptree
|
|||
|
||||
# update spec file
|
||||
sed -i "s/Version:.*/Version: $version/g" polycat.spec
|
||||
sed -i "s/DATE_HERE/$(date '+%a %b %d %Y')/g" polycat.spec
|
||||
sed -i "s/CHANGELOG_MESSAGE_HERE/Update to $version/g" polycat.spec
|
||||
sed -i "s/RPM_PACKAGER_NAME/$RPM_PACKAGER_NAME/g" polycat.spec
|
||||
sed -i "s/RPM_PACKAGER_EMAIL/$RPM_PACKAGER_EMAIL/g" polycat.spec
|
||||
|
||||
# build package and move to the repo
|
||||
rpmbuild -bb polycat.spec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue