Skip to content

Commit ef37319

Browse files
committed
feat: save pre-release charts in CI
1 parent b37b70b commit ef37319

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/lint-test.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,15 @@ jobs:
5050

5151
- name: Run chart-testing (install)
5252
run: ct install --config ct.yaml
53+
54+
- id: get-version
55+
run: |
56+
echo version=$(helm show chart ./charts/flagsmith | grep -oP '^version: \K.*')-a$(date +"%Y%m%d%H%M%S") >> $GITHUB_OUTPUT
57+
58+
- run: helm package ./charts/flagsmith --version ${{ steps.get-version.outputs.version }} --destination out
59+
60+
- name: Save the chart archive
61+
uses: actions/upload-artifact@v3
62+
with:
63+
name: flagsmith-${{ steps.get-version.outputs.version }}.tgz
64+
path: out/flagsmith-${{ steps.get-version.outputs.version }}.tgz

0 commit comments

Comments
 (0)