diff --git a/README.md b/README.md index 54069a0..57fcfbb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # GUTSchedule +[![Build Status](https://dev.azure.com/xfox111/GitHub%20CI/_apis/build/status/XFox111.GUTSchedule?branchName=master)](https://dev.azure.com/xfox111/GitHub%20CI/_build/latest?definitionId=8&branchName=master) +![Continious Delivery Pipeline](https://vsrm.dev.azure.com/xfox111/_apis/public/Release/badge/e42c572c-a3cd-4aac-bbb1-f720d9ccb5ea/1/5) + ![GitHub release (latest by date)](https://img.shields.io/github/v/release/xfox111/GUTSchedule) ![GitHub issues](https://img.shields.io/github/issues/xfox111/GUTSchedule) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index da6ac68..d892aa7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,9 +3,6 @@ # Add steps that test, sign, and distribute an app, save build artifacts, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/xamarin -trigger: -- master - pool: vmImage: 'windows-latest' @@ -20,8 +17,36 @@ steps: inputs: restoreSolution: '**/*.sln' +- task: ResharperCli@2 + inputs: + solutionOrProjectPath: 'GUT.Schedule/GUT.Schedule.sln' + failBuildLevelSelector: 'Error' + failBuildOnCodeIssues: false + - task: XamarinAndroid@1 inputs: projectFile: '**/**.csproj' outputDirectory: '$(outputDirectory)' configuration: '$(buildConfiguration)' + msbuildVersionOption: 'latest' + msbuildArchitectureOption: 'x64' + jdkOption: 'JDKVersion' + +- task: DeleteFiles@1 + inputs: + SourceFolder: '$(outputDirectory)' + Contents: | + **/**.pdb + **/**.dll + +- task: CopyFiles@2 + inputs: + SourceFolder: '$(Build.SourcesDirectory)' + Contents: 'changelog.md' + TargetFolder: '$(outputDirectory)' + +- task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: '$(outputDirectory)' + ArtifactName: 'bundle' + publishLocation: 'Container' \ No newline at end of file diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..9460f59 --- /dev/null +++ b/changelog.md @@ -0,0 +1,5 @@ +# Changelog file +## Changelog filling guidelines +- Update before every merge to master. +- Fill in English +- Should be compatible with Google Play changelog format (no Markdown) \ No newline at end of file