mirror of
https://github.com/gwebu-team/profile.d.git
synced 2025-12-09 04:05:46 +00:00
Release 1.0.8, update .pre-commit-config.yaml
Add how to release notes.
This commit is contained in:
parent
affb7ae553
commit
b31cb20161
3 changed files with 34 additions and 5 deletions
|
|
@ -4,11 +4,13 @@ WORKDIR /root/profile.d
|
||||||
|
|
||||||
COPY ./ .
|
COPY ./ .
|
||||||
|
|
||||||
|
# dnf -y update && \
|
||||||
RUN \
|
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 && \
|
# dnf -y install dnf-plugins-core epel-release && \
|
||||||
# /usr/bin/crb enable && \
|
# /usr/bin/crb enable && \
|
||||||
|
# dnf -y clean all
|
||||||
|
|
||||||
RUN ./build.sh
|
RUN ./build.sh
|
||||||
|
|
|
||||||
27
README.md
27
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
|
To update the RPM changelog run ./changelog.sh
|
||||||
|
|
||||||
Type `make` to see the available targets (dist, rpm, podman_rpm, changelog, clean).
|
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.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
Summary: Gwebu profile.d - cool date, prompt with history, aliases
|
Summary: Gwebu profile.d - cool date, prompt with history, aliases
|
||||||
Name: gwebu-profile
|
Name: gwebu-profile
|
||||||
Version: 1.0.7
|
Version: 1.0.8
|
||||||
Release: 2
|
Release: 0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Source0: profile.d-%{version}-%{release}.tar.xz
|
Source0: profile.d-%{version}-%{release}.tar.xz
|
||||||
|
|
@ -41,7 +41,7 @@ install -m 0644 etc/profile.d/*.sh %{buildroot}%{_sysconfdir}/profile.d/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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...
|
- Fixing VENV again...
|
||||||
|
|
||||||
* Tue May 27 2025 Doncho Gunchev <doncho.gunchev@flyr.com> - 1.0.7-1
|
* Tue May 27 2025 Doncho Gunchev <doncho.gunchev@flyr.com> - 1.0.7-1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue