Skip to content

Commit

Permalink
fix(repo): appVersion was overwritten by version when initializin…
Browse files Browse the repository at this point in the history
…g new releases using Actions
  • Loading branch information
clementguillot committed Apr 18, 2024
1 parent 977f826 commit 15a6ce7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/init-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
set -ue
find . -type f -name 'build.gradle.kts' -exec sed -i -E 's/version = "([0-9]+\.[0-9]+\.[0-9]+(-SNAPSHOT)?)"/version = "${{ inputs.TARGET_VERSION }}"/g' {} +
find . -type f -name 'Chart.yaml' -exec sed -i -E 's/version: "[0-9]+\.[0-9]+\.[0-9]"/version: "${{ inputs.TARGET_VERSION }}"/g' {} +
find . -type f -name 'Chart.yaml' -exec sed -i -E 's/appVersion: "[0-9]+\.[0-9]+\.[0-9]"/version: "${{ inputs.TARGET_VERSION }}"/g' {} +
find . -type f -name 'Chart.yaml' -exec sed -i -E 's/appVersion: "[0-9]+\.[0-9]+\.[0-9]"/appVersion: "${{ inputs.TARGET_VERSION }}"/g' {} +
git diff
- name: Create pull request
Expand Down
2 changes: 1 addition & 1 deletion apps/helm-chart/src/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: nx-cloud-ce
description: Nx Cloud Community Edition Helm Chart
type: application
version: "0.1.0"
version: "0.1.0"
appVersion: "0.1.0"
keywords:
- nx-cloud-ce
home: https://github.com/clementguillot/nx-cloud-ce
Expand Down

0 comments on commit 15a6ce7

Please sign in to comment.