diff --git a/Dockerfile-build b/Dockerfile-build index c69d769..8d3edbd 100644 --- a/Dockerfile-build +++ b/Dockerfile-build @@ -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 diff --git a/README.md b/README.md index 65f3cd7..67951ef 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/gwebu-profile.spec.in b/gwebu-profile.spec.in index 50e5cfe..f33e58b 100644 --- a/gwebu-profile.spec.in +++ b/gwebu-profile.spec.in @@ -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 - 1.0.7-2 +* Sun Nov 02 2025 Doncho N. Gunchev - 1.0.8-0 - Fixing VENV again... * Tue May 27 2025 Doncho Gunchev - 1.0.7-1