Skip to content

Commit

Permalink
YQ-2609: enable ldflags on release
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyisaev2 committed Dec 22, 2023
1 parent 0f6104b commit 1941c64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
go get ./...
- name: Build
run: GOOS=linux go build -v -o fq-connector-go ./app
run: GOOS=linux go build -v -ldflags="$(sh ./get_ldflags.sh)" -o fq-connector-go ./app
- name: Test
run: go test -v ./app/...
- name: Build and push Docker image
Expand Down
4 changes: 2 additions & 2 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def parse_args():
parser = argparse.ArgumentParser(
prog="generate",
description="""
Script for Go Protobuf API generation.
Script for Go Protobuf API generation.
It takes protofiles from YDB repository and generates Go code in fq-connector-go repository.
""",
)
Expand Down Expand Up @@ -231,7 +231,7 @@ def main():

protobuf_includes = Path(args.protobuf_dir)
if not protobuf_includes.exists():
raise ValueError(f"path {connector_github_root} does not exist")
raise ValueError(f"path {protobuf_includes} does not exist")

ydb_source_files = [
YDBProtoFile(ydb_github_root.joinpath(param[0]), param[1])
Expand Down

0 comments on commit 1941c64

Please sign in to comment.