diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 536d01f764..4317ba2637 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,7 +48,10 @@ jobs: name: lnd ${{ env.RELEASE_VERSION }} draft: true prerelease: false - files: lnd-${{ env.RELEASE_VERSION }}/* + files: | + oblnd-${{ env.RELEASE_VERSION }}/* + mobile/obd-android-build.tar.gz + body: | # Database Migrations TODO diff --git a/mobile/obd-android-build.tar.gz b/mobile/obd-android-build.tar.gz new file mode 100644 index 0000000000..4ecc3a8d1f Binary files /dev/null and b/mobile/obd-android-build.tar.gz differ diff --git a/scripts/release.sh b/scripts/release.sh index 6270a284c1..83a12fcd76 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -11,7 +11,7 @@ set -e LND_VERSION_REGEX="lnd version (.+) commit" PKG="github.com/lightningnetwork/lnd" -PACKAGE=lnd +PACKAGE=oblnd # Needed for setting file timestamps to get reproducible archives. BUILD_DATE="2020-01-01 00:00:00" @@ -178,8 +178,8 @@ function build_release() { pushd "${dir}" green " - Building: ${os} ${arch} ${arm} with build tags '${buildtags}'" - env CGO_ENABLED=0 GOOS=$os GOARCH=$arch GOARM=$arm go build -v -trimpath -ldflags="${ldflags}" -tags="${buildtags}" ${PKG}/cmd/lnd - env CGO_ENABLED=0 GOOS=$os GOARCH=$arch GOARM=$arm go build -v -trimpath -ldflags="${ldflags}" -tags="${buildtags}" ${PKG}/cmd/lncli + env CGO_ENABLED=0 GOOS=$os GOARCH=$arch GOARM=$arm go build -v -trimpath -ldflags="${ldflags}" -tags="${buildtags}" -o oblnd ${PKG}/cmd/lnd + env CGO_ENABLED=0 GOOS=$os GOARCH=$arch GOARM=$arm go build -v -trimpath -ldflags="${ldflags}" -tags="${buildtags}" -o oblnlci ${PKG}/cmd/lncli popd # Add the hashes for the individual binaries as well for easy verification @@ -194,7 +194,7 @@ function build_release() { done # Add the hash of the packages too, then sort by the second column (name). - shasum -a 256 lnd-* >> "manifest-$tag.txt" + shasum -a 256 ${PACKAGE}-* >> "manifest-$tag.txt" LC_ALL=C sort -k2 -o "manifest-$tag.txt" "manifest-$tag.txt" cat "manifest-$tag.txt" }