Skip to content

Commit

Permalink
Merge pull request #18 from Sefaria/label-template
Browse files Browse the repository at this point in the history
fix: relative pathing in prerelease script
  • Loading branch information
BrendanGalloway authored Feb 26, 2024
2 parents 4a4237d + 5ca094c commit a5d7acc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/chart-prerelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
export appVersion=$(git describe --match 'v*' --abbrev=0 HEAD --tags || echo "0.0.0")
export chartVersion=$(echo $1 | sed 's/chart-\(.*\)/\1/')

yq -i e '.version = strenv(chartVersion)' chart/Chart.yaml
yq -i e '.appVersion = strenv(appVersion)"' chart/Chart.yaml
yq -i e '.on.workflow_dispatch.inputs.chart_version.default = strenv(chartVersion)' .github/workflows/deploy.yaml
yq -i e '.version = strenv(chartVersion)' Chart.yaml
yq -i e '.appVersion = strenv(appVersion)"' Chart.yaml
yq -i e '.on.workflow_dispatch.inputs.chart_version.default = strenv(chartVersion)' ../.github/workflows/deploy.yaml
1 change: 1 addition & 0 deletions chart/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"name": "chart"
}

0 comments on commit a5d7acc

Please sign in to comment.