Skip to content

Commit 815d501

Browse files
committed
CI
1 parent f37b1f4 commit 815d501

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/_release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ jobs:
1919
with:
2020
merge-multiple: true
2121

22+
run: |
23+
echo "SCHEMA_FILE=${GITHUB_REF_NAME%@*}.schema.json" >> $GITHUB_ENV
24+
2225
- name: Create GitHub release with schema for the tagged helm chart
2326
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
2427
with:
2528
files: |
26-
${GITHUB_REF_NAME%@*}.schema.json
29+
${{ env.SCHEMA_FILE }}
2730
generate_release_notes: true
2831

2932
- name: Push tagged helm chart to registry

package-helm-charts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -xeuo pipefail
44

5-
FULL_REF=$(git describe)
5+
FULL_REF=$(git describe --tags)
66
VERSION="${FULL_REF#*@}"
77

88
mkdir -p charts

0 commit comments

Comments
 (0)