Skip to content

Commit f548931

Browse files
committed
Use v in front of charts branch versions
1 parent b19c8ec commit f548931

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
204204
run: |
205205
version=$(jq -r '.version' <<< '${{ steps.goreleaser.outputs.metadata }}')
206-
branch_version=$(cut -d'.' -f1,2 <<< "$version")
206+
branch_version=v$(cut -d'.' -f1,2 <<< "$version")
207207
charts_branch=charts/$branch_version
208208
209209
if [ ! -e ~/.gitconfig ]; then
@@ -216,7 +216,7 @@ jobs:
216216
git checkout --orphan "$charts_branch"
217217
git rm -rf .
218218
219-
echo "# Fleet Helm Charts for v$branch_version versions" > README.md
219+
echo "# Fleet Helm Charts for $branch_version versions" > README.md
220220
echo "The documentation is centralized in a unique place, checkout https://fleet.rancher.io/." >> README.md
221221
222222
git checkout origin/main -- LICENSE .gitignore

0 commit comments

Comments
 (0)