Skip to content

Commit 0e0d9b5

Browse files
authored
build: load dotenv in release_metadata.py
1 parent 3f952d4 commit 0e0d9b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/release_metadata.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
import sys
33
import argparse
44
import requests
5+
from dotenv import load_dotenv
6+
7+
load_dotenv()
58

69
def update_gist(gist_id, actor, file_content):
710
# Retrieve the GIST_TOKEN from the environment
@@ -51,4 +54,4 @@ def update_gist(gist_id, actor, file_content):
5154
update_gist(args.gist_id, args.actor, args.file_content)
5255
else:
5356
print("Please provide the actor and file content to update the Gist.")
54-
sys.exit(1)
57+
sys.exit(1)

0 commit comments

Comments
 (0)