automated the changelog using git-cliff
Dieser Commit ist enthalten in:
Ursprung
c632982e22
Commit
75daa1138e
6 geänderte Dateien mit 108 neuen und 7 gelöschten Zeilen
|
@ -10,4 +10,5 @@ printf "%%%s %s\n" \
|
||||||
rpmdev-setuptree
|
rpmdev-setuptree
|
||||||
sudo dnf builddep -y package.spec
|
sudo dnf builddep -y package.spec
|
||||||
cp release_pkg.sh /src/SOURCES
|
cp release_pkg.sh /src/SOURCES
|
||||||
|
cp changelog.spec /src/SOURCES
|
||||||
rpmbuild --quiet -bb package.spec
|
rpmbuild --quiet -bb package.spec
|
||||||
|
|
27
changelog-debian.toml
Normale Datei
27
changelog-debian.toml
Normale Datei
|
@ -0,0 +1,27 @@
|
||||||
|
[changelog]
|
||||||
|
body = """ca-certificates-st {% if version %}({{ version | trim_start_matches(pat="v") }}-1){% else %}unreleased{% endif %} stable; urgency=medium
|
||||||
|
{% for commit in commits %}
|
||||||
|
* {% if commit.scope %}*({{ commit.scope }})* {% endif %}{% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}
|
||||||
|
{%- endfor %}
|
||||||
|
|
||||||
|
-- {% set release = commits | last %}{{ release.author.name }} <{{ release.author.email }}> {{ release.author.timestamp | date(format="%a, %d %b %Y %H:%M:%S +0000", timezone="UTC") }}\n
|
||||||
|
"""
|
||||||
|
trim = false
|
||||||
|
postprocessors = []
|
||||||
|
output = "debian/changelog"
|
||||||
|
|
||||||
|
[git]
|
||||||
|
conventional_commits = false
|
||||||
|
filter_unconventional = false
|
||||||
|
split_commits = false
|
||||||
|
commit_preprocessors = [
|
||||||
|
# Replace issue numbers
|
||||||
|
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
|
||||||
|
# Check spelling of the commit with https://github.com/crate-ci/typos
|
||||||
|
# If the spelling is incorrect, it will be automatically fixed.
|
||||||
|
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
|
||||||
|
]
|
||||||
|
commit_parsers = []
|
||||||
|
filter_commits = false
|
||||||
|
topo_order = false
|
||||||
|
sort_commits = "oldest"
|
42
changelog-rhel.toml
Normale Datei
42
changelog-rhel.toml
Normale Datei
|
@ -0,0 +1,42 @@
|
||||||
|
[changelog]
|
||||||
|
header = "%changelog"
|
||||||
|
body = """{% for commit in commits | reverse %}
|
||||||
|
* {{ commit.author.timestamp | date(format="%a %B %d %Y", timezone="UTC") }} {{ commit.author.name }} <{{ commit.author.email }}>{%if version%} {{ version }}{% endif %}
|
||||||
|
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}{% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}
|
||||||
|
{%- endfor %}
|
||||||
|
"""
|
||||||
|
# template for the changelog footer
|
||||||
|
footer = ""
|
||||||
|
# remove the leading and trailing s
|
||||||
|
trim = true
|
||||||
|
# postprocessors
|
||||||
|
postprocessors = [
|
||||||
|
# { pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL
|
||||||
|
]
|
||||||
|
# render body even when there are no releases to process
|
||||||
|
# render_always = true
|
||||||
|
# output file path
|
||||||
|
output = "changelog.spec"
|
||||||
|
|
||||||
|
[git]
|
||||||
|
# filter out the commits that are not conventional
|
||||||
|
filter_unconventional = false
|
||||||
|
# process each line of a commit as an individual commit
|
||||||
|
split_commits = false
|
||||||
|
# regex for preprocessing the commit messages
|
||||||
|
commit_preprocessors = [
|
||||||
|
# Replace issue numbers
|
||||||
|
#{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
|
||||||
|
# Check spelling of the commit with https://github.com/crate-ci/typos
|
||||||
|
# If the spelling is incorrect, it will be automatically fixed.
|
||||||
|
#{ pattern = '.*', replace_command = 'typos --write-changes -' },
|
||||||
|
]
|
||||||
|
# regex for parsing and grouping commits
|
||||||
|
commit_parsers = [
|
||||||
|
]
|
||||||
|
# filter out the commits that are not matched by commit parsers
|
||||||
|
filter_commits = false
|
||||||
|
# sort the tags topologically
|
||||||
|
topo_order = false
|
||||||
|
# sort the commits inside sections by oldest/newest order
|
||||||
|
sort_commits = "oldest"
|
22
changelog.spec
Normale Datei
22
changelog.spec
Normale Datei
|
@ -0,0 +1,22 @@
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
* Sun May 04 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.3
|
||||||
|
- automated the changelog using git-cliff
|
||||||
|
* Sun May 04 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.3
|
||||||
|
- added old ca
|
||||||
|
* Sun May 04 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.2
|
||||||
|
- release 1.2
|
||||||
|
* Sun May 04 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.2
|
||||||
|
- adjusted the build.pkg file to copy files into the container and only modify the packages directory
|
||||||
|
* Sun May 04 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.2
|
||||||
|
- created the specfile for rhel based distros
|
||||||
|
* Sun May 04 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.2
|
||||||
|
- fixed the permissions of build_archlinux.sh
|
||||||
|
* Sun May 04 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.2
|
||||||
|
- removed the unnessesary subdirectory
|
||||||
|
* Sat May 03 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.2
|
||||||
|
- moving the arch packages instead of copying
|
||||||
|
* Sat March 08 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.2
|
||||||
|
- added debian build data
|
||||||
|
* Sat March 08 2025 Sebastian Tobie <sebastian@sebastian-tobie.de> v1.0
|
||||||
|
- arch package build working
|
19
debian/changelog
gevendort
19
debian/changelog
gevendort
|
@ -1,18 +1,25 @@
|
||||||
|
ca-certificates-st (1.3-1) stable; urgency=medium
|
||||||
|
|
||||||
|
* added old ca
|
||||||
|
* automated the changelog using git-cliff
|
||||||
|
|
||||||
|
-- Sebastian Tobie <sebastian@sebastian-tobie.de> Sun, 04 May 2025 20:49:46 +0000
|
||||||
|
|
||||||
ca-certificates-st (1.2-1) stable; urgency=medium
|
ca-certificates-st (1.2-1) stable; urgency=medium
|
||||||
|
|
||||||
|
* added debian build data
|
||||||
* moving the arch packages instead of copying
|
* moving the arch packages instead of copying
|
||||||
* removed the unnessesary subdirectory
|
* removed the unnessesary subdirectory
|
||||||
* fixed the permissions of build_archlinux.sh
|
* fixed the permissions of build_archlinux.sh
|
||||||
* created the specfile for rhel based distros
|
* created the specfile for rhel based distros
|
||||||
* adjusted the build.pkg file to copy files into the container and only modify the packages directory
|
* adjusted the build.pkg file to copy files into the container and only modify the packages directory
|
||||||
* release 1.2-1
|
* release 1.2
|
||||||
|
|
||||||
-- Sebastian Tobie <sebastian@sebastian-tobie.de> Sun, 04 May 2025 16:32:57 +0000
|
-- Sebastian Tobie <sebastian@sebastian-tobie.de> Sun, 04 May 2025 16:09:32 +0000
|
||||||
|
|
||||||
ca-certificates-st (1.0-1) unstable; urgency=medium
|
ca-certificates-st (1.0-1) stable; urgency=medium
|
||||||
|
|
||||||
[ Sebastian Tobie ]
|
|
||||||
* Initial release.
|
|
||||||
* arch package build working
|
* arch package build working
|
||||||
|
|
||||||
-- Sebastian Tobie <sebastian@sebastian-tobie.de> Sat, 03 May 2025 20:48:30 +0000
|
-- Sebastian Tobie <sebastian@sebastian-tobie.de> Sat, 08 Mar 2025 08:28:04 +0000
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
Name: ca-certificates-st
|
Name: ca-certificates-st
|
||||||
Version: 1.2
|
Version: 1.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Source: release_pkg.sh
|
Source0: release_pkg.sh
|
||||||
|
Source1: changelog.spec
|
||||||
License: Propietary
|
License: Propietary
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: ca-certificates
|
Requires: ca-certificates
|
||||||
|
@ -14,6 +15,7 @@ Meine Zertifikate
|
||||||
%prep
|
%prep
|
||||||
%setup -T -c
|
%setup -T -c
|
||||||
cp %SOURCE0 .
|
cp %SOURCE0 .
|
||||||
|
cp %SOURCE1 .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./release_pkg.sh
|
./release_pkg.sh
|
||||||
|
|
Laden …
Tabelle hinzufügen
In neuem Issue referenzieren