File tree Expand file tree Collapse file tree 3 files changed +11
-21
lines changed
Expand file tree Collapse file tree 3 files changed +11
-21
lines changed Original file line number Diff line number Diff line change 2929 cd $(echo $tag_name | rev | cut -d'/' -f2- | rev)
3030 fi
3131
32- cmd="yarn npm publish --access public"
32+ yarn_major_version=$(yarn --version | cut -d'.' -f1)
33+ if [ "$yarn_major_version" -ge 2 ] && [ "$yarn_major_version" -le 4 ]; then
34+ cmd="yarn npm publish --access public"
35+ elif [ "$yarn_major_version" -eq 1 ]; then
36+ cmd="yarn publish --access public"
37+ else
38+ echo "Unsupported Yarn version: $yarn_major_version"
39+ exit 1
40+ fi
41+
3342 if [ "${{ github.event.release.prerelease }}" == "true" ]; then
3443 cmd+=" --tag=beta"
3544 else
Original file line number Diff line number Diff line change 11# CHANGELOG
22
3- ## 1.35.0/2025-05-28
4-
5- ### Fixed
6- * add ` include ` parameter to On-Call team rules test [ #2270 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2270 )
7- * fix On-Call spec [ #2262 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2262 )
8- * Fix incorrect pattern for url [ #2223 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2223 )
9- * Make metadata optional for GCS destination [ #2213 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2213 )
10- * Remove isReadOnly default when creating dashboards [ #2212 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2212 )
11- * Make assertion target be int or string [ #2209 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2209 )
12-
13- ### Added
14- * Add support for Datadog Events as a data source for rules [ #2267 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2267 )
15- * Add public APIs to search DORA events [ #2263 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2263 )
16- * Adding endpoints to manage Resource Evaluation Filters [ #2236 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2236 )
17- * Add Sev0 as a supported incident severity [ #2225 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2225 )
18- * Share timerestriction object [ #2222 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2222 )
19- * add On-Call Paging spec [ #2216 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2216 )
20- * Add pagination method for NDM ListDevices. [ #2211 ] ( https://github.com/DataDog/datadog-api-client-typescript/pull/2211 )
21-
223## 1.34.1 / 2025-04-14
234
245### Fixed
Original file line number Diff line number Diff line change 106106 "engines" : {
107107 "node" : " >=12.0.0"
108108 },
109- "version" : " 1.35 .0" ,
109+ "version" : " 1.34.2-beta .0" ,
110110 "packageManager" : " yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
111111}
You can’t perform that action at this time.
0 commit comments