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 edf9c8f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,17 @@ jobs:

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

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

- name: Save the pre-release 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 edf9c8f

Please sign in to comment.