mirror of
				https://github.com/1disk/edp445.git
				synced 2024-08-14 22:47:02 +00:00 
			
		
		
		
	Changed alot of things.
This commit is contained in:
		
							parent
							
								
									a5a0523e5a
								
							
						
					
					
						commit
						3513d5390c
					
				
					 2016 changed files with 336930 additions and 9 deletions
				
			
		
							
								
								
									
										32
									
								
								node_modules/ajv/scripts/publish-built-version
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								node_modules/ajv/scripts/publish-built-version
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,32 @@ | |||
| #!/usr/bin/env bash | ||||
| 
 | ||||
| set -e | ||||
| 
 | ||||
| if [[ -n $TRAVIS_TAG && $TRAVIS_JOB_NUMBER =~ ".3" ]]; then | ||||
|   echo "About to publish $TRAVIS_TAG to ajv-dist..." | ||||
| 
 | ||||
|   git config user.email "$GIT_USER_EMAIL" | ||||
|   git config user.name "$GIT_USER_NAME" | ||||
| 
 | ||||
|   git clone https://${GITHUB_TOKEN}@github.com/ajv-validator/ajv-dist.git ../ajv-dist | ||||
| 
 | ||||
|   rm -rf ../ajv-dist/dist | ||||
|   mkdir ../ajv-dist/dist | ||||
|   cp ./dist/ajv.* ../ajv-dist/dist | ||||
|   cat bower.json | sed 's/"name": "ajv"/"name": "ajv-dist"/' > ../ajv-dist/bower.json | ||||
|   cd ../ajv-dist | ||||
| 
 | ||||
|   if [[ `git status --porcelain` ]]; then | ||||
|     echo "Changes detected. Updating master branch..." | ||||
|     git add -A | ||||
|     git commit -m "updated by travis build #$TRAVIS_BUILD_NUMBER" | ||||
|     git push --quiet origin master > /dev/null 2>&1 | ||||
|   fi | ||||
| 
 | ||||
|   echo "Publishing tag..." | ||||
| 
 | ||||
|   git tag $TRAVIS_TAG | ||||
|   git push --tags > /dev/null 2>&1 | ||||
| 
 | ||||
|   echo "Done" | ||||
| fi | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue