make sure version is in core/sys_config
This commit is contained in:
		
							parent
							
								
									4e4deed889
								
							
						
					
					
						commit
						566c92b780
					
				
							
								
								
									
										5
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @ -13,10 +13,13 @@ jobs: | |||||||
|       - name: Checkout code |       - name: Checkout code | ||||||
|         uses: actions/checkout@master |         uses: actions/checkout@master | ||||||
| 
 | 
 | ||||||
|       - name: Get the version |       - name: Get version from tag | ||||||
|         id: get_version |         id: get_version | ||||||
|         run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/} |         run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/} | ||||||
| 
 | 
 | ||||||
|  |       - name: Test version in sys_config | ||||||
|  |         run: grep ${{ steps.get_version.outputs.VERSION }} core/sys_config.php | ||||||
|  | 
 | ||||||
|       - name: Build |       - name: Build | ||||||
|         run: | |         run: | | ||||||
|           composer install --no-dev |           composer install --no-dev | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user