Skip to content

Commit

Permalink
[v2] Prepare deployment workflow for V2 patch releases (#3241)
Browse files Browse the repository at this point in the history
* Prepare deployment workflow for V2 patch releases

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Update release.config.js

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Update deployment.yml

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

---------

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
  • Loading branch information
t1m0thyj authored Oct 16, 2024
1 parent 29d09ff commit dd9c30c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/release.config.js
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -44,7 +44,7 @@ module.exports = {
{
$cwd: "packages/zowe-explorer-api",
aliasTags: {
"latest": ["zowe-v2-lts"],
"latest": ["zowe-v3-lts"],
},
npmPublish: true,
tarballDir: "dist",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
branches:
- main
- maintenance
- v1-lts
- release/3.*
- v2-lts
paths:
- .github/release.config.js
- .github/workflows/deployment.yml
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit dd9c30c

Please sign in to comment.