mirror of
				https://github.com/open-webui/helm-charts
				synced 2025-06-26 18:16:14 +00:00 
			
		
		
		
	Merge pull request #6 from 0xThresh/semantic-version-test
Fix: test semantic releases
This commit is contained in:
		
						commit
						b6e6d76034
					
				
							
								
								
									
										34
									
								
								.github/workflows/helm-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										34
									
								
								.github/workflows/helm-release.yml
									
									
									
									
										vendored
									
									
								
							| @ -8,6 +8,40 @@ on: | ||||
|       - "charts/*/Chart.yaml" | ||||
| 
 | ||||
| jobs: | ||||
|   semantic-release: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       # Checkout repo | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
| 
 | ||||
|       - name: Setup Node.js | ||||
|         uses: actions/setup-node@v3 | ||||
|         with: | ||||
|           node-version: 'lts/*' | ||||
|       - name: Install dependencies | ||||
|         run: npm install | ||||
|       - name: Release | ||||
|         env: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|         run: npx semantic-release | ||||
| 
 | ||||
|       - name: Install yq | ||||
|         run: | | ||||
|           wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O yq &&\ | ||||
|           chmod +x yq | ||||
| 
 | ||||
|       - name: Get version | ||||
|         id: get_version | ||||
|         run: | | ||||
|           echo "VERSION=$(cat Chart.yaml| ./yq -r  '.version')" >> $GITHUB_OUTPUT | ||||
| 
 | ||||
|       - name: Commit Chart.yaml | ||||
|         uses: stefanzweifel/git-auto-commit-action@v4 | ||||
|         with: | ||||
|           commit_message: 'chore(release) bump version to ${{ steps.get_version.outputs.VERSION }}' | ||||
|           file_pattern: 'Chart.yaml' | ||||
| 
 | ||||
|   release: | ||||
|     permissions: | ||||
|       contents: write | ||||
|  | ||||
							
								
								
									
										12
									
								
								.releaserc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.releaserc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | ||||
| { | ||||
|   "name": "helm-charts", | ||||
|   "branches": ["main"], | ||||
|   "plugins": [ | ||||
|     [ | ||||
|       "semantic-release-helm", | ||||
|       { | ||||
|         chartPath: 'charts/open-webui', | ||||
|       } | ||||
|     ] | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										7
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| { | ||||
|     "devDependencies": { | ||||
|       "@semantic-release/github": "^9.0.3", | ||||
|       "semantic-release": "^21.0.5", | ||||
|       "semantic-release-helm": "^2.2.0" | ||||
|     } | ||||
|   } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user