mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 08:10:11 +01:00
Engineering - Add tasks to create and push a tag with the version number (#3520)
* Engineering - Add tasks to create and push a tag with the version number * Renames tag to follow v[VERSION] pattern --------- Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
This commit is contained in:
parent
831c6b4dbb
commit
b4737b60ed
2 changed files with 28 additions and 0 deletions
|
|
@ -56,3 +56,17 @@ extends:
|
|||
tag: latest
|
||||
publishPackage: ${{ parameters.publishMonacoEditor }}
|
||||
publishRequiresApproval: false
|
||||
|
||||
postPublishSteps:
|
||||
- checkout: self
|
||||
persistCredentials: true
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
|
||||
git config user.email "vscode@microsoft.com"
|
||||
git config user.name "VSCode"
|
||||
|
||||
git tag -a v$(SetPackageSpec.PACKAGE_VERSION) -m v$(SetPackageSpec.PACKAGE_VERSION)
|
||||
git push origin v$(SetPackageSpec.PACKAGE_VERSION)
|
||||
workingDirectory: $(Build.SourcesDirectory)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue