Skip to content

Commit

Permalink
feat: save pre-release charts in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Apr 20, 2023
1 parent b37b70b commit ef37319
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,15 @@ jobs:

- name: Run chart-testing (install)
run: ct install --config ct.yaml

- id: get-version
run: |
echo version=$(helm show chart ./charts/flagsmith | grep -oP '^version: \K.*')-a$(date +"%Y%m%d%H%M%S") >> $GITHUB_OUTPUT
- run: helm package ./charts/flagsmith --version ${{ steps.get-version.outputs.version }} --destination out

- name: Save the chart archive
uses: actions/upload-artifact@v3
with:
name: flagsmith-${{ steps.get-version.outputs.version }}.tgz
path: out/flagsmith-${{ steps.get-version.outputs.version }}.tgz

0 comments on commit ef37319

Please sign in to comment.