Skip to content

Commit

Permalink
update release name
Browse files Browse the repository at this point in the history
  • Loading branch information
wxf4150 committed Dec 20, 2022
1 parent 1ed1a96 commit 4242da5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file added mobile/obd-android-build.tar.gz
Binary file not shown.
8 changes: 4 additions & 4 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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"
}
Expand Down

0 comments on commit 4242da5

Please sign in to comment.