Skip to content

Commit

Permalink
filter versioning response
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyankg101 authored Nov 8, 2023
1 parent 2b8181d commit 0987911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/tvarit/dashboard-deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def upload_release_notes_to_s3(versioning_info, bucket_name, s3_key):
except ValueError as e:
print(f"Error parsing 'created' field: {e}")
current_datetime = datetime.datetime.now().isoformat()
upload_release_notes_to_s3(response, 'tvarit.product.releasenotes', f'{current_datetime}/{key}/{folder}/{dashboard_title}')
upload_release_notes_to_s3(filtered_response, 'tvarit.product.releasenotes', f'{current_datetime}/{key}/{folder}/{dashboard_title}')

# Add functionality for versioning
print(f"Dashboard '{dashboard_title}' has a new version.")
Expand Down

0 comments on commit 0987911

Please sign in to comment.