Release 1.0.8, update .pre-commit-config.yaml
Some checks failed
Makefile CI / build (push) Has been cancelled

Add how to release notes.
This commit is contained in:
Doncho N. Gunchev 2025-11-02 15:52:41 +02:00
parent affb7ae553
commit b31cb20161
Signed by: dgunchev
GPG key ID: D30FD19F37E002A9
3 changed files with 34 additions and 5 deletions

View file

@ -4,11 +4,13 @@ WORKDIR /root/profile.d
COPY ./ .
# dnf -y update && \
RUN \
dnf -y update && \
dnf -y install rpmdevtools make
dnf -y install rpmdevtools make && \
dnf -y clean all
# dnf -y install dnf-plugins-core epel-release && \
# /usr/bin/crb enable && \
# dnf -y clean all
RUN ./build.sh

View file

@ -8,3 +8,30 @@ Unless explicitly stated in the file itself, the license is [The Unlicense](http
To update the RPM changelog run ./changelog.sh
Type `make` to see the available targets (dist, rpm, podman_rpm, changelog, clean).
## Releases
To create a new release first tag it:
```shell
git tag -a v1.0.0 -m "Release 1.0.0"
```
then run `./release.sh`. At this point
```shell
git commit -a --ammend
git tag -a v1.0.0 -m "Release 1.0.0" --force
```
This is a chicken and egg problem I have not decided how to solve yet.
Build the RPMs at this point with `make rpm` or `make podman_rpm`.
Once everything is OK push code and the tag.
```shell
git push
git push --tags
```
And draft a new release on GitHub.

View file

@ -1,7 +1,7 @@
Summary: Gwebu profile.d - cool date, prompt with history, aliases
Name: gwebu-profile
Version: 1.0.7
Release: 2
Version: 1.0.8
Release: 0
BuildArch: noarch
License: GPLv2
Source0: profile.d-%{version}-%{release}.tar.xz
@ -41,7 +41,7 @@ install -m 0644 etc/profile.d/*.sh %{buildroot}%{_sysconfdir}/profile.d/
%changelog
* Sun Nov 02 2025 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.7-2
* Sun Nov 02 2025 Doncho N. Gunchev <dgunchev@gmail.com> - 1.0.8-0
- Fixing VENV again...
* Tue May 27 2025 Doncho Gunchev <doncho.gunchev@flyr.com> - 1.0.7-1