release: bump to 1.3.1
- SHA
4525339c4f7537da840e2dd86a488fd64daf0f08- Parents
-
3a0fb9f - Tree
1260e30
4525339
4525339c4f7537da840e2dd86a488fd64daf0f083a0fb9f
1260e30| Status | File | + | - |
|---|---|---|---|
| M |
gitswitcher.spec
|
8 | 3 |
gitswitcher.specmodified@@ -1,5 +1,5 @@ | |||
| 1 | Name: gitswitcher | 1 | Name: gitswitcher |
| 2 | -Version: 1.3.0 | 2 | +Version: 1.3.1 |
| 3 | Release: 1%{?dist} | 3 | Release: 1%{?dist} |
| 4 | Summary: Secure Git identity and SSH/GPG key management tool for seamless account switching | 4 | Summary: Secure Git identity and SSH/GPG key management tool for seamless account switching |
| 5 | 5 | ||
@@ -37,8 +37,9 @@ Features: | |||
| 37 | %autosetup | 37 | %autosetup |
| 38 | 38 | ||
| 39 | %build | 39 | %build |
| 40 | -# Build release version with security hardening | 40 | +# Build release version with security hardening. Pass VERSION explicitly so |
| 41 | -make BUILD_TYPE=release %{?_smp_mflags} | 41 | +# the binary reports the RPM version even when .git isn't present in %{_builddir}. |
| 42 | +make BUILD_TYPE=release VERSION=%{version} COMMIT=rpm %{?_smp_mflags} | ||
| 42 | 43 | ||
| 43 | %install | 44 | %install |
| 44 | # Install to buildroot | 45 | # Install to buildroot |
@@ -53,6 +54,10 @@ install -m 644 README.md %{buildroot}%{_docdir}/%{name}/ | |||
| 53 | %{_docdir}/%{name}/README.md | 54 | %{_docdir}/%{name}/README.md |
| 54 | 55 | ||
| 55 | %changelog | 56 | %changelog |
| 57 | +* Thu Apr 16 2026 mfw <espadonne@outlook.com> - 1.3.1-1 | ||
| 58 | +- Fix: version string resolves to the tagged release when built from a source tarball (no .git) via new VERSION file fallback in the Makefile. | ||
| 59 | +- Build: RPM spec now passes VERSION=%{version} explicitly. | ||
| 60 | + | ||
| 56 | * Thu Apr 16 2026 mfw <espadonne@outlook.com> - 1.3.0-1 | 61 | * Thu Apr 16 2026 mfw <espadonne@outlook.com> - 1.3.0-1 |
| 57 | - Feature: `gitswitch init <shell>` subcommand emits SSH_AUTH_SOCK wiring for fish/bash/zsh/sh/dash/ksh | 62 | - Feature: `gitswitch init <shell>` subcommand emits SSH_AUTH_SOCK wiring for fish/bash/zsh/sh/dash/ksh |
| 58 | - Feature: `--ssh-agent-info` compat alias auto-detects shell from $SHELL for Python-era rc files | 63 | - Feature: `--ssh-agent-info` compat alias auto-detects shell from $SHELL for Python-era rc files |