microsoft/vscode-loc

Public

mirrored fromhttps://github.com/microsoft/vscode-locAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0bfeb46021d6d076d8b9b9168f1269010a901081

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

build/release.yml

40lines · modecode

1name: $(Date:yyyyMMdd)$(Rev:.r)
2
3#*************
4#* IMPORTANT *
5#*************
6# This pipeline needs a variable called `languagePack` set to the name of the directory that
7# contains the language pack we want to work with. Set this via the Azure Pipelines UI.
8
9trigger: none
10pr: none
11
12schedules:
13 # Run every Wednesday
14 - cron: '0 9 * * Wed'
15 displayName: Weekly Release Schedule
16 always: true
17 branches:
18 include:
19 - main
20
21resources:
22 repositories:
23 - repository: templates
24 type: github
25 name: microsoft/vscode-engineering
26 ref: main
27 endpoint: Monaco
28
29extends:
30 template: azure-pipelines/extension/pre-release.yml@templates
31 parameters:
32 usePreReleaseChannel: false
33 workingDirectory: $(Build.SourcesDirectory)/i18n/$(languagePack)
34 buildSteps:
35 - pwsh: |
36 [version]$version = Get-Content -Raw ./package.json | ConvertFrom-Json | Select-Object -ExpandProperty version
37 $patch = Get-Date -Format yyyyMMddHH
38 npm version "$($version.Major).$($version.Minor).$patch"
39 displayName: Update version
40 workingDirectory: $(Build.SourcesDirectory)/i18n/$(languagePack)
41