Skip to content

Commit 0f9ab1f

Browse files
authored
Revert release and handle yarn 1.22.22 (#2288)
* add support for yarn 1 * Revert "Bump versions and add changelog entries. (#2284)" This reverts commit 18cb4f4. * greater or equal * handle all versions
1 parent 18cb4f4 commit 0f9ab1f

File tree

3 files changed

+11
-21
lines changed

3 files changed

+11
-21
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,16 @@ jobs:
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

CHANGELOG.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@
106106
"engines": {
107107
"node": ">=12.0.0"
108108
},
109-
"version": "1.35.0",
109+
"version": "1.34.2-beta.0",
110110
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
111111
}

0 commit comments

Comments
 (0)