Skip to content

Commit

Permalink
Update do.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ASHNA-AGGARWAL-KEYSIGHT committed Apr 25, 2022
1 parent 3a5c587 commit d5b30e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion do.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def get_version():
version_info = re.findall(r"version: (.+)", out)
if version_info:
version_info = version_info[0]
with open("version.txt", "w+") as f:
f.close()
if version_info:
new_data = []
with open("requirements.txt") as f:
Expand All @@ -54,7 +56,6 @@ def get_version():
f.writelines(new_data)
elif workflow_id:
print(workflow_id)
open("version.txt", "w+")


def lint():
Expand Down

0 comments on commit d5b30e6

Please sign in to comment.