Skip to content

Commit

Permalink
Merge pull request #700 from lavanet/release-flag-change-for-fork
Browse files Browse the repository at this point in the history
PRT - release build
  • Loading branch information
Yaroms authored Aug 10, 2023
2 parents 022d2eb + 56c9143 commit 95d4fdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
check-latest: true
cache: true

- name: Set Environment Variable
run: |
echo "LAVA_BUILD_OPTIONS=\"release\"" >> $GITHUB_ENV
- name: Build
run: |
make build
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ else ifeq (rocksdb,$(findstring rocksdb,$(LAVA_BUILD_OPTIONS)))
endif

ifeq (release,$(findstring release,$(LAVA_BUILD_OPTIONS)))
$(info Building With Production Flag)
ldflags += -X github.com/lavanet/lava/utils.ExtendedLogLevel=production
endif

Expand Down

0 comments on commit 95d4fdd

Please sign in to comment.