mirror of
https://github.com/jellyfin/jellyfin-helm.git
synced 2025-02-17 04:28:00 +00:00
fix(ci): 🐛 correct path to Chart.yaml (#22)
This commit is contained in:
parent
b2b6d8710b
commit
334d4958bd
6
.github/workflows/app_release.yaml
vendored
6
.github/workflows/app_release.yaml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
id: bump_version
|
||||
run: |
|
||||
# Read the current version from the Chart.yaml
|
||||
current_version=$(grep '^version:' Chart.yaml | awk '{print $2}')
|
||||
current_version=$(grep '^version:' charts/jellyfin/Chart.yaml | awk '{print $2}')
|
||||
echo "Current version: $current_version"
|
||||
|
||||
# Split the version by dot and increment the minor version
|
||||
@ -44,8 +44,8 @@ jobs:
|
||||
echo "Setting appVersion to: $jellyfin_version"
|
||||
|
||||
# Update the Chart.yaml with the new version and appVersion
|
||||
sed -i "s/^version:.*/version: $new_version/" Chart.yaml
|
||||
sed -i "s/^appVersion:.*/appVersion: $jellyfin_version/" Chart.yaml
|
||||
sed -i "s/^version:.*/version: $new_version/" charts/jellyfin/Chart.yaml
|
||||
sed -i "s/^appVersion:.*/appVersion: $jellyfin_version/" charts/jellyfin/Chart.yaml
|
||||
|
||||
# Output the new chart version for further use
|
||||
echo "::set-output name=new_version::$new_version"
|
||||
|
Loading…
x
Reference in New Issue
Block a user