From d7e5ce52def99d46107747f53036b5f81be597e1 Mon Sep 17 00:00:00 2001 From: rtrompier Date: Wed, 22 Feb 2023 14:06:53 +0100 Subject: [PATCH] feat: release management --- .github/workflows/publish-helm.yml | 5 +++++ README.md | 2 +- charts/Chart.yaml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-helm.yml b/.github/workflows/publish-helm.yml index 98a2d36..11bbf79 100644 --- a/.github/workflows/publish-helm.yml +++ b/.github/workflows/publish-helm.yml @@ -11,6 +11,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Update version + shell: bash + run: | + sed -i 's/0.0.0/${{ github.ref_name }}/' charts/Chart.yaml + - name: Helm Publish uses: huggingface/helm-publish-action@latest with: diff --git a/README.md b/README.md index 6e89492..1c272c5 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Helm Chart containing our common functions -# Usage +## Usage Coming soon ... diff --git a/charts/Chart.yaml b/charts/Chart.yaml index 446c365..6349b32 100644 --- a/charts/Chart.yaml +++ b/charts/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 name: common description: Common chart for Hugging Face type: library -version: 0.1.0 \ No newline at end of file +version: 0.0.0 \ No newline at end of file