From ceed6feaab8ae0bb359113c142f862d4e906827c Mon Sep 17 00:00:00 2001 From: Maximilian Wesener Date: Tue, 23 Jan 2024 10:51:45 +0100 Subject: [PATCH] chore(release): update release action and documentation. --- .github/workflows/helm-chart-release.yaml | 3 --- docs/RELEASE.md | 20 +++----------------- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/.github/workflows/helm-chart-release.yaml b/.github/workflows/helm-chart-release.yaml index 2871f51323..26ff519300 100644 --- a/.github/workflows/helm-chart-release.yaml +++ b/.github/workflows/helm-chart-release.yaml @@ -19,9 +19,6 @@ name: "[BE][FE][RELEASE][HELM] Release Helm Charts" on: workflow_dispatch: # Trigger manually - push: - tags: - - '[0-9]+.[0-9]+.[0-9]+' jobs: Get-helm-charts-versions: diff --git a/docs/RELEASE.md b/docs/RELEASE.md index c27348595b..9f3b2abdc8 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -28,22 +28,8 @@ Make sure eclipse / catena git repositories are in sync - Open the github action for helm release generation: https://github.com/catenax-ng/tx-traceability-foss/actions/workflows/helm-chart-release.yaml - Execute it from main branch - Validate that the helm charts release has been generated within the release page +- Edit the app release and set checkbox to latest release 13) Repeat step 7 to 12 for tractus-x: [GitHub Releases page](https://github.com/eclipse-tractusx/traceability-foss/releases) -14) Edit /release/1.0.0 branch: package.json version field with your version 1.0.0 -15) Open /charts/Chart.yaml and edit the fields: -- version, frontend.version, backend.version (set only one minor version higher) - you need to verify that this version does not exist, see release page -- appVersion (needs to be your app version) -> 1.0.0 -16) Open /charts/backend/Chart.yaml and set same version / appVersion -17) Open /charts/frontend/Chart.yaml and set same version / appVersion -18) Push to catena and eclipse -19) Open Github Action on Catena and run action ON release/1.0.0: https://github.com/catenax-ng/tx-traceability-foss/actions/workflows/helm-chart-release.yaml -- Verify that helm-chart release has been generated and is on release page -20) Edit the app release and set checkbox to latest release -21)Open Github Action on Eclipse and run action ON release/1.0.0: https://github.com/eclipse-tractusx/traceability-foss/actions/workflows/helm-chart-release.yaml and run on your release branch -- Verify that helm-chart release has been generated and is on release page -22) Edit the app release and set checkbox to latest release -23) Merge release branch into catena main branch -24) Sync catena and eclipse main branch - -Please update the [CHANGELOG.md](https://github.com/eclipse-tractusx/traceability-foss/blob/main/CHANGELOG.md) file with release changes that follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format. +14) Merge release branch into catena main branch +15) Sync catena and eclipse main branch