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