chore: fix Helm chart release workflow (#683)
Modified sed usage in Helm chart release workflow to account for dependencies section present in Chart.yaml Unify usage of sed across Helm chart release workflow
This commit is contained in:
		
							parent
							
								
									dd6e48c8d5
								
							
						
					
					
						commit
						64de9aad91
					
				|  | @ -21,10 +21,10 @@ jobs: | |||
| 
 | ||||
|       - name: Deploy Helm chart | ||||
|         run: | | ||||
|           sed -i "/version:/c\version: ${{ github.event.inputs.chartVersion }}" chart/jenkins-operator/Chart.yaml | ||||
|           sed -i '0,/version:.*/s//version: ${{ github.event.inputs.chartVersion }}/' chart/jenkins-operator/Chart.yaml | ||||
| 
 | ||||
|           if [ ${{ github.event.inputs.appVersion }} ] ; then | ||||
|             sed -i "/appVersion:/c\appVersion: \"${{ github.event.inputs.appVersion }}\"" chart/jenkins-operator/Chart.yaml | ||||
|             sed -i '/appVersion:.*/s//appVersion: "${{ github.event.inputs.appVersion }}"/' chart/jenkins-operator/Chart.yaml | ||||
|           fi | ||||
| 
 | ||||
|           make helm-release-latest | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue