From 4392096db27e3d9a5388f7510c8cd6813af132ca Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Tue, 14 Mar 2023 13:09:02 +0100 Subject: [PATCH] Engineering - remove custom code to create git tag (#3828) --- .azure-pipelines/publish-nightly.yml | 15 +-------------- .azure-pipelines/publish-stable.yml | 16 ++-------------- 2 files changed, 3 insertions(+), 28 deletions(-) diff --git a/.azure-pipelines/publish-nightly.yml b/.azure-pipelines/publish-nightly.yml index 17c903b0..4a757c36 100644 --- a/.azure-pipelines/publish-nightly.yml +++ b/.azure-pipelines/publish-nightly.yml @@ -38,6 +38,7 @@ extends: displayName: Setup, Build & Test monaco-editor-core tag: next + ghCreateTag: false publishPackage: true publishRequiresApproval: false @@ -54,17 +55,3 @@ extends: tag: next publishPackage: true 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) diff --git a/.azure-pipelines/publish-stable.yml b/.azure-pipelines/publish-stable.yml index 56e9f01f..d8cb4813 100644 --- a/.azure-pipelines/publish-stable.yml +++ b/.azure-pipelines/publish-stable.yml @@ -44,6 +44,7 @@ extends: displayName: Setup, Build & Test monaco-editor-core tag: latest + ghCreateTag: false publishPackage: ${{ parameters.publishMonacoEditorCore }} publishRequiresApproval: false @@ -61,20 +62,6 @@ extends: 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) - - name: monaco-editor-webpack-plugin workingDirectory: $(Build.SourcesDirectory)/webpack-plugin testPlatforms: [] @@ -86,5 +73,6 @@ extends: displayName: Build plugin tag: latest + ghCreateTag: false publishPackage: ${{ parameters.publishWebpackPlugin }} publishRequiresApproval: false