feature/ci-cd-drone-migration #3
@@ -20,6 +20,7 @@ steps:
 | 
			
		||||
    depends_on:
 | 
			
		||||
      - build-image
 | 
			
		||||
    commands:
 | 
			
		||||
      - git fetch --tags
 | 
			
		||||
      - find . -type f -print0 | xargs -0 dos2unix
 | 
			
		||||
      - chmod +x /drone/src/*.sh
 | 
			
		||||
      - /drone/src/compile.sh
 | 
			
		||||
@@ -14,6 +14,8 @@ file="version"
 | 
			
		||||
	wget -q https://raw.githubusercontent.com/fsaintjacques/semver-tool/master/src/semver -O bin/semver && chmod +x bin/semver
 | 
			
		||||
	export PATH="$(pwd)/bin:$PATH"
 | 
			
		||||
}
 | 
			
		||||
pwd
 | 
			
		||||
ls
 | 
			
		||||
tagref=$(git describe --tags)
 | 
			
		||||
revision=$(git rev-parse --short=8 HEAD)
 | 
			
		||||
major=$(semver get major $tagref)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user