From dd9c30cf06d05ba2b3ec768cecfd30b93288643a Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Wed, 16 Oct 2024 10:08:58 -0400 Subject: [PATCH] [v2] Prepare deployment workflow for V2 patch releases (#3241) * Prepare deployment workflow for V2 patch releases Signed-off-by: Timothy Johnson * Update release.config.js Signed-off-by: Timothy Johnson * Update deployment.yml Signed-off-by: Timothy Johnson --------- Signed-off-by: Timothy Johnson --- .github/release.config.js | 14 +++++++------- .github/workflows/deployment.yml | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/release.config.js b/.github/release.config.js index 506092e94f..cd3afac229 100644 --- a/.github/release.config.js +++ b/.github/release.config.js @@ -1,19 +1,19 @@ module.exports = { branches: [ - { - name: "v1-lts", - channel: "zowe-v1-lts", - level: "patch", - }, { name: "main", channel: "latest", level: "minor" }, { - name: "release/2.*", + name: "release/3.*", channel: "latest", level: "patch" + }, + { + name: "v2-lts", + channel: "zowe-v2-lts", + level: "patch" } // { // name: "next", @@ -44,7 +44,7 @@ module.exports = { { $cwd: "packages/zowe-explorer-api", aliasTags: { - "latest": ["zowe-v2-lts"], + "latest": ["zowe-v3-lts"], }, npmPublish: true, tarballDir: "dist", diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index e13eadba17..2be44d8a31 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -4,8 +4,8 @@ on: push: branches: - main - - maintenance - - v1-lts + - release/3.* + - v2-lts paths: - .github/release.config.js - .github/workflows/deployment.yml @@ -39,7 +39,7 @@ jobs: node-version: '18.x' - name: Install Yarn and Lerna - run: npm install -g yarn lerna@6 + run: npm install -g yarn lerna@6 ovsx@0.9.4 - name: Build Source run: yarn @@ -66,7 +66,7 @@ jobs: - name: Update Changelogs if: steps.octorelease.outcome == 'success' run: | - sed -i '0,/##/s//## TBD Release\n\n### New features and enhancements\n\n### Bug fixes\n\n##/' packages/*/CHANGELOG.md + sed -i '0,/##/s//## TBD Release\n\n### Bug fixes\n\n##/' packages/*/CHANGELOG.md git add packages/*/CHANGELOG.md - name: Create Snapshot Version