Huiwen 54dbdf9eb9
Align experience of latest pinned and unpinned version (#19911)
* Align experience of latest pinned and unpinned version

* Improve GHA

* Remove latest stable version in versions

* 💄

* debug commit

* fix option not update

* Add unit test case for versions

* test cover more

* Add allow pin field

* 😅

* Add debug log
2024-06-17 20:41:12 +08:00

13 lines
586 B
TypeScript

// Copyright (c) 2024 Gitpod GmbH. All rights reserved.
// Licensed under the GNU Affero General Public License (AGPL).
// See License.AGPL.txt in the project root for license information.
import { $ } from "bun";
import { upgradeStableVersionsInWorkspaceaAndGradle } from "./lib/jb-stable-version";
import { appendPinVersionsIntoIDEConfigMap } from "./lib/jb-pin-version";
$.nothrow(); // git likes to respond with non-zero codes, but it is alright for us
const updatedIDEs = await upgradeStableVersionsInWorkspaceaAndGradle();
await appendPinVersionsIntoIDEConfigMap(updatedIDEs);