Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ source ./version
# Update chart version
if sed --version > /dev/null; then
# Using GNU sed (Linux)
sed -i "s/version: .*/version: $VERSION/" helm/promgithub/Chart.yaml
sed -i "s/appVersion: .*/appVersion: \"$VERSION\"/" helm/promgithub/Chart.yaml
sed -i "s/^version: .*/version: $VERSION/" helm/promgithub/Chart.yaml
sed -i "s/^appVersion: .*/appVersion: \"$VERSION\"/" helm/promgithub/Chart.yaml
else
# Using BSD sed (macOS)
sed -i '' "s/version: .*/version: $VERSION/" helm/promgithub/Chart.yaml
sed -i '' "s/appVersion: .*/appVersion: \"$VERSION\"/" helm/promgithub/Chart.yaml
sed -i '' "s/^version: .*/version: $VERSION/" helm/promgithub/Chart.yaml
sed -i '' "s/^appVersion: .*/appVersion: \"$VERSION\"/" helm/promgithub/Chart.yaml
fi

# Run go fmt to format the source code
Expand Down
2 changes: 1 addition & 1 deletion helm/promgithub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ appVersion: "0.0.7"

dependencies:
- name: redis
version: 0.0.7
version: 23.1.1
repository: "oci://registry-1.docker.io/bitnamicharts"
condition: redis.enabled
Loading