Skip to content

Commit 9119500

Browse files
committed
Fix CI for real this time
1 parent f37b1f4 commit 9119500

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/_release.yaml

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

22+
- name: Set SCHEMA_FILE env var
23+
run: |
24+
echo "SCHEMA_FILE=${GITHUB_REF_NAME%@*}.schema.json" >> $GITHUB_ENV
25+
2226
- name: Create GitHub release with schema for the tagged helm chart
2327
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
2428
with:
2529
files: |
26-
${GITHUB_REF_NAME%@*}.schema.json
30+
${{ env.SCHEMA_FILE }}
2731
generate_release_notes: true
2832

2933
- 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)