lnd/scripts
ziggie f600fcaf6d scripts: add tag-release.sh to safely cut release tags
Adds a script that creates a signed annotated release tag only after
verifying:

  1. The requested tag name matches the version constants committed in
     HEAD:build/version.go. Catches the failure mode where a release
     branch is tagged before the version bump has been committed, which
     would otherwise leave the tagged commit reporting an old version
     string at runtime.

  2. The local HEAD is identical to the upstream lightningnetwork/lnd
     view of the release branch. A release tag must never point at a
     commit that has not been merged upstream yet.

The upstream remote is discovered by URL rather than by name, since
"origin" is conventionally the fork in a "gh repo fork" workflow. The
branch defaults to whichever one is currently checked out (typically a
release branch such as v0.21.x-branch) and can be overridden with
--branch.

The script deliberately does not push the tag or auto-bump version.go;
both remain explicit human steps.

(cherry picked from commit 5320aa0e36)
2026-05-27 18:32:28 +00:00
..
bw-compatibility-test scripts/bw-compat: use docker logs for log collection 2026-03-05 15:51:59 +01:00
keys scripts: add gpg key for georgetsagk 2026-02-23 14:40:07 +01:00
check-commit.sh build: check compilation of each commit 2020-12-08 16:19:26 -08:00
check-each-commit.sh scripts: use ephemeral gocache in check-each-commit 2026-02-13 09:42:24 +01:00
check-go-version-dockerfile.sh Makefile: add lint check for Go version in Dockerfile and YAML 2024-08-01 14:09:58 +01:00
check-go-version-yaml.sh Makefile: add lint check for Go version in Dockerfile and YAML 2024-08-01 14:09:58 +01:00
check-pgp-expiry.sh scripts: add pgp keys expire check 2025-08-14 15:35:55 -03:00
check-release-notes.sh scripts/check-release-notes.sh: fix bash expression 2023-07-13 12:51:40 -04:00
check-rest-annotations.sh make+scripts: fix rpc-check command 2021-07-27 12:59:54 +02:00
check-sample-lnd-conf.sh lncfg+scripts: use configurable global lock for postgres backends 2025-11-28 09:22:19 +01:00
comment-on-duplicates.sh multi: add issue dedupe command and workflow 2026-02-11 13:06:42 +02:00
fuzz.sh make+scripts+docs: update fuzzing script and make fuzz 2022-11-11 10:30:05 -06:00
fuzzy-match-release-branch.sh scripts: add cherry-pick verification tool with fuzzy matching 2025-07-29 08:51:51 +02:00
gen_man_pages.sh scripts+dev.Dockerfile: address dockerfile build issue 2024-03-18 13:47:39 +02:00
gen_sqlc_docker.sh scripts: add sql slices workaround to sqlc gen script 2025-07-22 17:14:55 +02:00
install_bitcoind.sh github+scripts: bump itests to bitcoind v28, allow testing with RCs 2024-10-14 16:10:18 +02:00
itest_parallel.sh itest: shuffle test cases to even out blocks mined in tranches 2024-12-20 19:38:05 +08:00
itest_part.sh itest: shuffle test cases to even out blocks mined in tranches 2024-12-20 19:38:05 +08:00
release.sh Merge pull request #10268 from starius/release-gnu-gzip 2025-10-27 10:34:30 -07:00
tag-release.sh scripts: add tag-release.sh to safely cut release tags 2026-05-27 18:32:28 +00:00
tidy_modules.sh github+Makefile: add new action make tidy-module-check 2023-09-06 02:48:13 +08:00
unit-test-flake-hunter.sh Makefile+scripts: add unit test flake hunter 2025-02-25 21:10:40 +08:00
unit_test_modules.sh Makefile+action: add make unit-module to test submodules 2023-09-06 02:47:55 +08:00
verify-install.sh scripts: add gpg key for georgetsagk 2026-02-23 14:40:07 +01:00