152 Commits
Author SHA1 Message Date
carla daae8a9944 multi: wrap logger to request shutdown from signal on critical error
This commit adds a shutdown logger which will send a request for
shutdown on critical errors. It uses the signal package to request safe
shutdown of the daemon. Since we init our logs in config validation,
we add a started channel to the signal package to prevent the case where
we have a critical log after the ShutdownLogger has started but before
the daemon has started listening for intercepts. In this case, we just
ignore the shutdown request.
2020-08-24 08:54:34 +02:00
Conner Fromknecht 3ae46d81f4 build/version: bump to v0.11.0-beta 2020-08-19 07:14:41 -07:00
Conner Fromknecht fc12656a1a build/version: bump to v0.11.0-beta.rc4 2020-08-13 19:42:02 -07:00
Conner Fromknecht 1124d79922 build/version: bump to 0.11.0-beta.rc3 2020-08-13 15:45:15 -07:00
Conner Fromknecht 687da86345 build/version: bump version to v0.11.0-beta.rc2 2020-08-07 19:51:53 -07:00
Conner Fromknecht 247b7530ca build/version: use dot syntax for rc 2020-07-29 21:08:47 -07:00
Conner Fromknecht 608617975a build/version: bump to 0.11.0-beta-rc1 2020-07-29 20:13:24 -07:00
Olaoluwa Osuntokun d9044e5692 build: bump version to lnd v0.10.99-beta
In this commit, we bump the version to a `.99` minor version to reflect
the fact that master is ahead of _both_ `v0.10.0-beta`, and the upcoming
`v0.10.1-beta`.
2020-05-26 18:34:42 -07:00
Conner Fromknecht fcc18b6815 Merge pull request #4221 from guggero/move-release
build: move release script and README to more appropriate locations
2020-05-05 09:33:53 -07:00
Olaoluwa Osuntokun 1a3194d302 build: bump version to v0.10.0-beta 2020-04-29 10:21:45 -07:00
Olaoluwa Osuntokun 1d548684e2 build: bump version to v0.10.0-beta.rc6 2020-04-28 19:53:28 -07:00
Oliver Gugger caf4cb16c4 build+make: move release script
Because this script is now run from the main Makefile, it is more
suitable to be located in the main scripts folder where the other
build related scripts reside.
2020-04-24 14:29:06 +02:00
Oliver Gugger f4901d8ff9 docs: move build/release/README.md to docs/release.md
This readme file is better located in the docs directory as we
are going to move the release script itself as well in the next
commit.
2020-04-24 14:28:27 +02:00
Olaoluwa Osuntokun 0cf63ae898 build: bump version to 0.10.0-beta.rc5 2020-04-23 18:13:24 -07:00
Olaoluwa Osuntokun 0bc05f9d65 build: bump version to bump version to v0.10.0-beta.rc4 2020-04-21 18:12:57 -07:00
Olaoluwa Osuntokun 6591408a9e build: bump version to bump version to v0.10.0-beta.rc3 2020-04-21 17:30:39 -07:00
Oliver Gugger c08ddad22e build/README: describe how to use make release 2020-04-21 11:28:41 +02:00
Oliver Gugger 317ccb2cc9 make+build: call release script from makefile 2020-04-21 11:28:41 +02:00
Olaoluwa Osuntokun eec3799da9 build: bump version to bump version to v0.10.0-beta.rc2 2020-04-15 12:32:02 -07:00
Olaoluwa Osuntokun 95e2809ba3 build: bump version to v0.10.0-beta.rc1
We also add '.' to the semantic versioning alphabet to ensure it isn't
stripped out.
2020-04-14 20:08:36 -07:00
Conner Fromknecht 5c04038c18 bulid: only return semantic version from Version()
The version field in getinfo is kept the same for backwards
compatibility.
2020-04-10 16:39:23 -07:00
Conner Fromknecht d66f15d01f make+build: compile go version into binary 2020-04-10 16:39:23 -07:00
Conner Fromknecht 07420835d0 make+build: compile build tags into binary 2020-04-10 16:39:23 -07:00
Conner Fromknecht 75a1a1fbab make+build: compile SHA1 commit hash into binary 2020-04-10 16:39:22 -07:00
Conner Fromknecht b68764f86c build/version: check AppPreRelease semantics in init()
We'll do the validation during construction of the runtime so that we
can safely use the AppPreRelease field externally without needing to
normalize it.
2020-04-10 16:39:22 -07:00
Conner Fromknecht 640aadb61a build/version: expose AppMajor, AppMinor, AppPatch, etc. 2020-04-10 16:39:22 -07:00
Conner Fromknecht 06bd645e5d build/version: fix incomplete semanticAlphabet godoc 2020-04-10 16:39:22 -07:00
Joost Jager ffa7bed7f0 build+routerrpc+lncli: remove routerrpc conditional compilation 2020-03-31 21:41:22 +02:00
Olaoluwa Osuntokun 8b086bb581 build/release: update release script to handle multiple tags at head
In this commit, we change the release script slightly to return the
latest tag if there're multiple tags at head. Otherwise the release
script will fail if our final tag is at the same commit as the prior
release candidate tag.
2020-01-21 20:46:40 -08:00
Joost Jager c45b841fc0 build: bump version to 0.9.0-beta 2020-01-08 11:35:00 +01:00
Joost Jager eb96470c7f build: add version checks to release script
Enhances the release script to check that the specified tag
is also the tag that is currently checked out. In addition to that, the
script also ensures that the tag and the version specified in version.go
match.
2020-01-03 14:05:56 +01:00
Olaoluwa Osuntokun 00ec9148e9 build: bump to version v0.8.2-beta 2019-12-04 19:30:10 -08:00
Conner Fromknecht dbc0e88584 Merge pull request #3564 from joostjager/htlcswitch-logging
build+htlcswitch+lnwallet: add prefix logger
2019-10-16 13:00:36 +02:00
Oliver Gugger d3995a73ae build: move log rotator code 2019-10-14 14:56:31 +02:00
Oliver Gugger 3ea74c4362 build: move log level parse code and add new leveled sub logger interface 2019-10-14 14:56:30 +02:00
Wilmer Paulino 3e499f7cc9 build: expand reproducible build system with build and verification steps 2019-10-09 22:48:03 -04:00
Olaoluwa Osuntokun 867e972808 build/release: remove ARM based darwin from release scripts
These result in an error with the current release script as is. Those
that want to run `lnd` on their iPhone/iPad can instead use the
`gomobile` bindings.
2019-10-04 15:39:20 -07:00
Conner Fromknecht 122b43b447 build/release: add new release targets
Notably, solaris/amd64 and illumos/amd64 were added in go1.13. The
others were have been supported previously but were not build targets.

After go1.13, nacl/* will no longer be supported and plan9/* is still
considered experiemental. As a result they are omitted.
2019-10-04 14:50:26 -07:00
Conner Fromknecht 6e9560e818 build/release: format+sort build existing targets 2019-10-03 17:31:13 -07:00
Olaoluwa Osuntokun 0e41f07c47 build/release: create new release package for reproducible builds
In this commit, we create a new `build/release` package which houses the
build instructions and scripts that we need to do deterministic builds
across Windows, Linux, and MacOS.

With this new system, it's now possible for all `lnd` developers, as
well as users to verify the posted build binaries. This wasn't possible
in prior release as only in Go 1.13 did deterministic builds becomes
easier/possible. See the new `README.md` for further details.
2019-10-03 17:25:04 -07:00
Joost Jager c4107ebbad build: add prefixed logger 2019-10-03 10:21:59 +02:00
Olaoluwa Osuntokun 1ea2aecd3c build: bump version to v0.8.0-beta 2019-09-25 19:19:08 -07:00
Olaoluwa Osuntokun 2058aed436 build: update version to v0.7.1-beta 2019-07-23 16:18:17 -07:00
Olaoluwa Osuntokun c5357d383d lnd: bump version to 0.7 2019-06-14 13:54:27 -07:00
Olaoluwa Osuntokun 7f08c097fb build: bump version to 0.6.1-beta 2019-05-03 17:04:27 -07:00
Olaoluwa Osuntokun 2cc6687ff3 build: bump version to 0.6-beta 2019-04-03 15:48:17 -07:00
Olaoluwa Osuntokun f95a71fdc9 build: bump to psuedo version 0.5.2-99-beta 2019-02-22 15:31:07 -08:00
Olaoluwa Osuntokun 4da1c867c3 build: bump version to 0.5.1 2018-11-15 19:47:13 -08:00
Conner Fromknecht 1e64070a1d build/version: move version.go to build pkg 2018-10-05 13:04:45 +09:00
Conner Fromknecht 9654a1c619 build/log: add log types + NewSubLogger 2018-10-05 13:04:45 +09:00