File tree Expand file tree Collapse file tree 17 files changed +29
-31
lines changed
Expand file tree Collapse file tree 17 files changed +29
-31
lines changed Original file line number Diff line number Diff line change 7575
7676 - name : check if local version differs from latest published version
7777 run : |
78- published_version=$(npm view @nhsdigital/nhs-notify-templates-test-package --json | jq -r '.["dist-tags"].latest')
78+ published_version=$(npm view @nhsdigital/nhs-notify-event-schemas-template-management --json 2>/dev/null | jq -r '.["dist-tags"].latest')
7979 local_version=$(cat packages/event-schemas/package.json | jq -r '.version')
8080 if [[ $local_version = $published_version ]]; then
8181 echo "Local version is the same as the latest published version - skipping publish"
Original file line number Diff line number Diff line change 1818 "dataschemaversion" : " 1.0.0" ,
1919 "id" : " 12f1f09c-a555-4d9b-8405-0b33490bc929" ,
2020 "plane" : " control" ,
21- "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/prod " ,
21+ "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/main " ,
2222 "specversion" : " 1.0" ,
2323 "subject" : " 871b0f4e-0b32-474e-a49a-23fc554bc5a6" ,
2424 "time" : " 2025-07-29T08:50:57.350Z" ,
Original file line number Diff line number Diff line change 3131 "dataschemaversion" : " 1.0.0" ,
3232 "id" : " 20f471d0-367d-4914-bee3-2fa5322d67f1" ,
3333 "plane" : " control" ,
34- "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/prod " ,
34+ "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/main " ,
3535 "specversion" : " 1.0" ,
3636 "subject" : " 91be480d-c667-4741-957a-057b64753762" ,
3737 "time" : " 2025-07-29T10:11:28.078Z" ,
Original file line number Diff line number Diff line change 1717 "dataschemaversion" : " 1.0.0" ,
1818 "id" : " c958dab9-1cb2-4fb8-9990-c48ba1dc5518" ,
1919 "plane" : " control" ,
20- "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/prod " ,
20+ "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/main " ,
2121 "specversion" : " 1.0" ,
2222 "subject" : " 3a58a370-75ab-4788-a75e-cd2572a68523" ,
2323 "time" : " 2025-07-29T10:05:45.145Z" ,
Original file line number Diff line number Diff line change 1717 "dataschemaversion" : " 1.0.0" ,
1818 "id" : " 58d46ca9-dae4-4500-9b9a-9e6547289e69" ,
1919 "plane" : " control" ,
20- "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/prod " ,
20+ "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/main " ,
2121 "specversion" : " 1.0" ,
2222 "subject" : " 9779f827-0670-48b4-8e96-5cecf893468e" ,
2323 "time" : " 2025-07-29T10:00:53.459Z" ,
Original file line number Diff line number Diff line change 1818 "dataschemaversion" : " 1.0.0" ,
1919 "id" : " 12f1f09c-a555-4d9b-8405-0b33490bc929" ,
2020 "plane" : " control" ,
21- "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/prod " ,
21+ "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/main " ,
2222 "specversion" : " 1.0" ,
2323 "subject" : " 871b0f4e-0b32-474e-a49a-23fc554bc5a6" ,
2424 "time" : " 2025-07-29T11:13:45.563Z" ,
Original file line number Diff line number Diff line change 3131 "dataschemaversion" : " 1.0.0" ,
3232 "id" : " 20f471d0-367d-4914-bee3-2fa5322d67f1" ,
3333 "plane" : " control" ,
34- "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/prod " ,
34+ "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/main " ,
3535 "specversion" : " 1.0" ,
3636 "subject" : " 91be480d-c667-4741-957a-057b64753762" ,
3737 "time" : " 2025-07-29T11:15:22.776Z" ,
Original file line number Diff line number Diff line change 1717 "dataschemaversion" : " 1.0.0" ,
1818 "id" : " c958dab9-1cb2-4fb8-9990-c48ba1dc5518" ,
1919 "plane" : " control" ,
20- "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/prod " ,
20+ "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/main " ,
2121 "specversion" : " 1.0" ,
2222 "subject" : " 3a58a370-75ab-4788-a75e-cd2572a68523" ,
2323 "time" : " 2025-07-29T11:16:24.519Z" ,
Original file line number Diff line number Diff line change 1717 "dataschemaversion" : " 1.0.0" ,
1818 "id" : " 58d46ca9-dae4-4500-9b9a-9e6547289e69" ,
1919 "plane" : " control" ,
20- "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/prod " ,
20+ "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/main " ,
2121 "specversion" : " 1.0" ,
2222 "subject" : " 9779f827-0670-48b4-8e96-5cecf893468e" ,
2323 "time" : " 2025-07-29T11:17:41.773Z" ,
Original file line number Diff line number Diff line change 1818 "dataschemaversion" : " 1.0.0" ,
1919 "id" : " 12f1f09c-a555-4d9b-8405-0b33490bc929" ,
2020 "plane" : " control" ,
21- "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/prod " ,
21+ "source" : " //notify.nhs.uk/app/nhs-notify-template-management-prod/main " ,
2222 "specversion" : " 1.0" ,
2323 "subject" : " 871b0f4e-0b32-474e-a49a-23fc554bc5a6" ,
2424 "time" : " 2025-07-29T08:45:00.000Z" ,
You can’t perform that action at this time.
0 commit comments