27 Commits

Author SHA1 Message Date
Dominik Schulz
423333dbee
fix: Fix release helper and update capabilities for caplos (#3288)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-11-12 22:39:13 +01:00
Dominik Schulz
71861e4a8b
chore: Update golangci-lint (#3287)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-11-12 21:09:26 +01:00
Dominik Schulz
cc97921794
Improve release helpers (#3240)
* [chore] Clean up release helpers

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

* [chore] Add GOPASS_NOUPGRADE variable to the release helper

To avoid runing `make upgrade` during a release.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-09-19 18:31:48 +02:00
Dominik Schulz
8544c94828
[fix] Relase fixes (#3136)
Better logging and pulling in missing updates.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-21 21:38:42 +02:00
Dominik Schulz
f5c694c08b
[fix] Include git commit hash in tarballs (#3124)
* [fix] Include git commit hash in tarballs

This change should allow builds made from a release tarball to
accurately display the git commit hash it was built from.

It does so by rendering the current short hash when packaging
the tarball. This workaround is necessary since the tarball
won't include the .git directory so we can't extract the
commit information from it.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

* [fix] Fix TestVersionPrinter

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

* [fix] Fix spacing

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-04-19 14:45:56 +02:00
Dominik Schulz
72c5f9454a
[chore] Add better test coverage for helpers (#3078)
* [chore] Add better test coverage for helpers

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

* [fix] Disable one linux specific test on windows.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

* [fix] Only run helper tests on Linux. Currently there are no plans to
support those on Linux or even Darwin. If you have a need for that
feel free to put in the work to make that work.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

---------

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2025-03-04 15:14:34 +01:00
Dominik Schulz
2e222a2a80 Allow skipping release tests
They are run as part of the PR anyway.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2023-04-07 19:28:02 +02:00
Dominik Schulz
e7d8782201
[cleanup] Stop requiring RELEASE_NOTES (#2580)
Do not require a RELEASE_NOTES tag anymore. Instead attempt to
extract the changelog from the subject line or omit the commit
silently.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2023-04-07 13:10:42 +02:00
Dominik Schulz
ed9853d095 Run tests with a clean env
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-12-11 19:05:20 +01:00
Dominik Schulz
574d726c77 release: Pick latest stable version by default
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-12-11 15:57:36 +01:00
Dominik Schulz
9ce58b65ab Update Changelog and fix the changelog writer
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-12-03 22:29:21 +01:00
Dominik Schulz
18ffee354f
Add .gitconfig parser (#2395)
This commit adds yet another config handler for gopass. It is based on
the format used by git itself. This has the potential to address a lot
of long standing issues, but it also causes a lot of changes to how we
handle configuration, so bugs are inevitable.

Fixes #1567
Fixes #1764
Fixes #1819
Fixes #1878
Fixes #2387
Fixes #2418

RELEASE_NOTES=[BREAKING] New config format based on git config.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>

address comments

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-11-25 10:50:34 +01:00
Dominik Schulz
4b2d915df7 Update commit 2022-09-11 10:03:20 +02:00
Dominik Schulz
ef2ccbe0de Update dependencies during release
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-09-11 10:03:20 +02:00
Dominik Schulz
16c071a780
Enable golangci-lint on push and pr (#2158)
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-03-24 21:58:53 +01:00
Dominik Schulz
23882894cb Sync version template in release helper
RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-03-16 15:41:36 +01:00
Dominik Schulz
36e3c6e6b3 Add patch release workaround to the helper
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2022-01-15 07:05:29 +01:00
Dominik Schulz
bbf1751293
Use strings.Cut instead of strings.Split where feasible (#2033)
Fixes #2029

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-12-21 10:04:27 +01:00
Dominik Schulz
2233d15401
Test Go 1.18beta1 (#2058)
RELEASE_NOTES=[ENHANCEMENT] Bump to Go 1.18

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-12-21 09:51:46 +01:00
Dominik Schulz
5f641484ba
Add documentation (#2036)
RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-11-13 21:24:32 +01:00
Dominik Schulz
40861cdbb1
Commit updated man page and completions (#1864)
RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-03-20 21:40:04 +01:00
Dominik Schulz
2fdeb0fd42
Generate manpage and completion on release (#1860)
Shipping pre-generated manpage and completion files simplifies
packaging gopass.

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-03-20 20:46:09 +01:00
Dominik Schulz
73ed2c189e
Upgrade to Go 1.16 (#1803)
Remove usage of io/ioutil: https://golang.org/doc/go1.16?s=03#ioutil

RELEASE_NOTES=[ENHANCEMENT] Use Go 1.16

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-02-17 21:39:07 +01:00
Dominik Schulz
ba0621aad2
Do not tag during release preparation (#1785)
We expect the requestor to manually curate the changelog so
we can't tag the release commit, yet.

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-02-11 14:58:00 +01:00
Dominik Schulz
aced915acd
Add pre-release support to the release helper (#1780)
This commit adds support for pre-release versions to
the release helper. The previous version can be passed
on the command line and release candidates will be detected
as well.

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-02-08 14:47:53 +01:00
Dominik Schulz
29f512c115
Minor fixes to the release helper (#1772)
RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-02-04 20:58:18 +01:00
Dominik Schulz
d83f943317
Add release helper (#1740)
This PR adds a small release helper along with some documentation.
This should allow anyone with sufficient permissions to cut and push new
releases.

Fixes #1298

RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
2021-01-21 00:24:07 +01:00