Skip to content

Commit f7e8c23

Browse files
committed
trying to fix license not found error
1 parent 1b7054e commit f7e8c23

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/end-to-end-test-bubblesort-pytest-no-git.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ jobs:
99
runs-on: ubuntu-latest
1010
env:
1111
CODEFLASH_AIS_SERVER: prod
12-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY_AISERVER }}
13-
DATABASE_URL: ${{ secrets.DATABASE_URL }}
1412
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
1513
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
1614
COLUMNS: 110

codeflash/update_license_version.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from datetime import datetime
33

44
from version import __version_tuple__
5-
5+
import os
66

77
def main():
88
# Use the version tuple from version.py
@@ -16,7 +16,8 @@ def main():
1616
version_replacement = r"\g<1>" + major_minor_version + r".x"
1717

1818
# Read the LICENSE file
19-
with open("codeflash/LICENSE", encoding="utf8") as file:
19+
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "codeflash", "LICENSE"),
20+
encoding="utf8") as file:
2021
license_text = file.read()
2122

2223
# Replace the version in the LICENSE file

0 commit comments

Comments
 (0)