1 Star 0 Fork 0

浅夏诗韵/GitFlowAVH.VSIX

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
azure-pipelines.yml 2.45 KB
一键复制 编辑 原始数据 按行查看 历史
Montanari, Fabio 提交于 2021-08-26 12:49 . 1.1.0
variables:
MajorVersion: 1
MinorVersion: 1
PatchVersion: 0
BuildPlatform: 'Any CPU'
BuildConfiguration: 'Release'
DevEnvDir: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\'
name: $(MajorVersion).$(MinorVersion).$(PatchVersion)$(Rev:.r)
pool:
vmImage: windows-2019
trigger:
- master
steps:
- task: Assembly-Info-NetFramework@2
displayName: 'Set Assembly Manifest Data'
inputs:
FileNames: '**\AssemblyInfo.cs'
VersionNumber: '$(build.buildnumber)'
FileVersionNumber: '$(build.buildnumber)'
- task: geeklearningio.gl-vsts-tasks-file-patch.xml-patch-task.XmlPatch@4
displayName: 'Update VSIX version'
inputs:
XmlWorkingDir: GitFlowAVH
XmlTargetFilters: source.extension.vsixmanifest
Namespaces: 'vsix => http://schemas.microsoft.com/developer/vsx-schema/2011'
JsonPatchContent: '= /vsix:PackageManifest/vsix:Metadata/vsix:Identity/@Version=> "$(build.buildNumber)"'
OutputPatchFile: true
FailIfNoPatchApplied: true
- task: NuGetToolInstaller@0
displayName: 'Use NuGet 5.4.0'
inputs:
versionSpec: 5.4.0
- task: NuGetCommand@2
displayName: 'NuGet restore'
inputs:
restoreSolution: GitFlowAVH.sln
- task: VSBuild@1
displayName: 'Build solution GitFlowAVH.sln'
inputs:
solution: GitFlowAVH.sln
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
- task: CmdLine@1
displayName: 'type files.json'
inputs:
filename: type
arguments: GitFlowAVH\obj\Release\files.json
- task: VSTest@2
displayName: 'VsTest - testAssemblies'
inputs:
testAssemblyVer2: |
**\$(BuildConfiguration)\*test*.dll
!**\obj\**
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
testFiltercriteria: FullyQualifiedName~GitFlowWrapperTests
enabled: false
- task: CopyFiles@2
displayName: 'Copy marketplace files'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)'
Contents: |
**\bin\$(BuildConfiguration)\*.vsix
README.md
extension.manifest.json
TargetFolder: '$(build.artifactstagingdirectory)'
flattenFolders: true
- task: CopyFiles@2
displayName: 'Copy images'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)'
Contents: |
Images\*.*
TargetFolder: '$(build.artifactstagingdirectory)'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: GitFlowAVH.VSIX'
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
ArtifactName: GitFlowAVH.VSIX
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/qxsy/GitFlowAVH.VSIX.git
git@gitee.com:qxsy/GitFlowAVH.VSIX.git
qxsy
GitFlowAVH.VSIX
GitFlowAVH.VSIX
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385