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 29
29
cd $(echo $tag_name | rev | cut -d'/' -f2- | rev)
30
30
fi
31
31
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
+
33
42
if [ "${{ github.event.release.prerelease }}" == "true" ]; then
34
43
cmd+=" --tag=beta"
35
44
else
Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
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
-
22
3
## 1.34.1 / 2025-04-14
23
4
24
5
### Fixed
Original file line number Diff line number Diff line change 106
106
"engines" : {
107
107
"node" : " >=12.0.0"
108
108
},
109
- "version" : " 1.35 .0" ,
109
+ "version" : " 1.34.2-beta .0" ,
110
110
"packageManager" :
" [email protected] +sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
111
111
}
You can’t perform that action at this time.
0 commit comments