Skip to content

Commit 28fa7d2

Browse files
chore: adds missing script
1 parent ca61e6e commit 28fa7d2

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env bash
2+
3+
cat <<EOF > payload.json
4+
{
5+
"currentTag": "$CURRENT_DEPLOYED_TAG",
6+
"targetTag": "$RELEASE_TAG",
7+
"repoName": "eps-assist-me",
8+
"targetEnvironment": "INT",
9+
"productName": "EPS Assist Me",
10+
"releaseNotesPageId": "$PAGE_ID",
11+
"releaseNotesPageTitle": "EPS-Assist-Me-$RELEASE_TAG - Deployed to [INT] on $(date +'%d-%m-%y')",
12+
"createReleaseCandidate": "true",
13+
"releasePrefix": "EPS-Assist-Me-"
14+
}
15+
EOF
16+
cat payload.json
17+
18+
function_arn=$(aws cloudformation list-exports --query "Exports[?Name=='release-notes:CreateReleaseNotesLambdaArn'].Value" --output text)
19+
aws lambda invoke --function-name "${function_arn}" --cli-binary-format raw-in-base64-out --payload file://payload.json out.txt
20+
cat out.txt

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ Scripts are in the `.github/scripts` folder:
206206
- `call_mark_jira_released.sh` Calls a Lambda function to mark Jira issues as released.
207207
- `check-sbom-issues-against-ignores.sh` Validates SBOM scan against ignore list and reports unignored critical issues.
208208
- `create_env_release_notes.sh` Generates release notes for a specific environment using a Lambda function.
209+
- `create_int_rc_release_notes.sh` Creates release candidate notes for integration environment using a Lambda function.
209210
- `delete_stacks.sh` Checks and deletes active CloudFormation stacks associated with closed pull requests.
210211
- `fix_cdk_json.sh` Updates context values in `cdk.json` using environment variables before deployment.
211212
- `get_current_dev_tag.sh` Retrieves the current development tag and sets it as an environment variable.

0 commit comments

Comments
 (0)