Prechádzať zdrojové kódy

Engineering - remove custom code to create git tag (#3828)

Ladislau Szomoru 2 rokov pred
rodič
commit
4392096db2

+ 1 - 14
.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)

+ 2 - 14
.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