mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
cleaning up
This commit is contained in:
parent
3540dae7c0
commit
4f231cf0a3
@ -4,9 +4,5 @@
|
||||
<dict>
|
||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-jit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.disable-library-validation</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
@ -13,6 +13,6 @@ module.exports = async function(packagedAppPath) {
|
||||
appleIdPassword: appleIdPassword
|
||||
});
|
||||
} catch (e) {
|
||||
// throw new Error(e);
|
||||
throw new Error(e);
|
||||
}
|
||||
};
|
||||
|
@ -15,46 +15,46 @@ jobs:
|
||||
- template: platforms/macos.yml
|
||||
- template: platforms/linux.yml
|
||||
|
||||
#
|
||||
# - job: Release
|
||||
# pool:
|
||||
# vmImage: vs2015-win2012r2 # needed for Python 2.7 and gyp
|
||||
#
|
||||
# dependsOn:
|
||||
# - GetReleaseVersion
|
||||
# - Windows
|
||||
# - Linux
|
||||
# - macOS_tests
|
||||
#
|
||||
# variables:
|
||||
# ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ]
|
||||
#
|
||||
# steps:
|
||||
# - task: NodeTool@0
|
||||
# inputs:
|
||||
# versionSpec: 10.2.1
|
||||
# displayName: Install Node.js 10.2.1
|
||||
#
|
||||
# # This has to be done separately because VSTS inexplicably
|
||||
# # exits the script block after `npm install` completes.
|
||||
# - script: |
|
||||
# cd script\vsts
|
||||
# npm install
|
||||
# displayName: npm install
|
||||
#
|
||||
# - task: DownloadBuildArtifacts@0
|
||||
# inputs:
|
||||
# itemPattern: '**'
|
||||
# downloadType: 'specific'
|
||||
# displayName: Download Release Artifacts
|
||||
#
|
||||
# - script: |
|
||||
# node $(Build.SourcesDirectory)\script\vsts\upload-artifacts.js --create-github-release --assets-path "$(System.ArtifactsDirectory)" --linux-repo-name "atom"
|
||||
# env:
|
||||
# GITHUB_TOKEN: $(GITHUB_TOKEN)
|
||||
# ATOM_RELEASE_VERSION: $(ReleaseVersion)
|
||||
# ATOM_RELEASES_S3_KEY: $(ATOM_RELEASES_S3_KEY)
|
||||
# ATOM_RELEASES_S3_SECRET: $(ATOM_RELEASES_S3_SECRET)
|
||||
# ATOM_RELEASES_S3_BUCKET: $(ATOM_RELEASES_S3_BUCKET)
|
||||
# PACKAGE_CLOUD_API_KEY: $(PACKAGE_CLOUD_API_KEY)
|
||||
# displayName: Create Nightly Release
|
||||
|
||||
- job: Release
|
||||
pool:
|
||||
vmImage: vs2015-win2012r2 # needed for Python 2.7 and gyp
|
||||
|
||||
dependsOn:
|
||||
- GetReleaseVersion
|
||||
- Windows
|
||||
- Linux
|
||||
- macOS_tests
|
||||
|
||||
variables:
|
||||
ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ]
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: 10.2.1
|
||||
displayName: Install Node.js 10.2.1
|
||||
|
||||
#This has to be done separately because VSTS inexplicably
|
||||
#exits the script block after `npm install` completes.
|
||||
- script: |
|
||||
cd script\vsts
|
||||
npm install
|
||||
displayName: npm install
|
||||
|
||||
- task: DownloadBuildArtifacts@0
|
||||
inputs:
|
||||
itemPattern: '**'
|
||||
downloadType: 'specific'
|
||||
displayName: Download Release Artifacts
|
||||
|
||||
- script: |
|
||||
node $(Build.SourcesDirectory)\script\vsts\upload-artifacts.js --create-github-release --assets-path "$(System.ArtifactsDirectory)" --linux-repo-name "atom"
|
||||
env:
|
||||
GITHUB_TOKEN: $(GITHUB_TOKEN)
|
||||
ATOM_RELEASE_VERSION: $(ReleaseVersion)
|
||||
ATOM_RELEASES_S3_KEY: $(ATOM_RELEASES_S3_KEY)
|
||||
ATOM_RELEASES_S3_SECRET: $(ATOM_RELEASES_S3_SECRET)
|
||||
ATOM_RELEASES_S3_BUCKET: $(ATOM_RELEASES_S3_BUCKET)
|
||||
PACKAGE_CLOUD_API_KEY: $(PACKAGE_CLOUD_API_KEY)
|
||||
displayName: Create Nightly Release
|
||||
|
@ -9,18 +9,9 @@ jobs:
|
||||
IsReleaseBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsReleaseBranch'] ]
|
||||
IsSignedZipBranch: $[ dependencies.GetReleaseVersion.outputs['Version.IsSignedZipBranch'] ]
|
||||
pool:
|
||||
vmImage: macos-10.14
|
||||
vmImage: macos-10.13
|
||||
|
||||
steps:
|
||||
- script: sw_vers -productVersion
|
||||
displayName: Check MacOs version
|
||||
|
||||
- script: gcc --version
|
||||
displayName: Check XCode version
|
||||
|
||||
- script: xcrun --sdk macosx --show-sdk-path
|
||||
displayName: Check MacOS SDK version
|
||||
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: 10.2.1
|
||||
@ -72,7 +63,7 @@ jobs:
|
||||
ATOM_MAC_CODE_SIGNING_KEYCHAIN_PASSWORD: $(ATOM_MAC_CODE_SIGNING_KEYCHAIN_PASSWORD)
|
||||
AC_USER: $(AC_USER)
|
||||
AC_PASSWORD: $(AC_PASSWORD)
|
||||
|
||||
|
||||
- script: |
|
||||
cp $(Build.SourcesDirectory)/out/*.zip $(Build.ArtifactStagingDirectory)
|
||||
displayName: Stage Artifacts
|
||||
@ -106,7 +97,7 @@ jobs:
|
||||
dependsOn: macOS_build
|
||||
timeoutInMinutes: 180
|
||||
pool:
|
||||
vmImage: macos-10.14
|
||||
vmImage: macos-10.13
|
||||
strategy:
|
||||
maxParallel: 3
|
||||
matrix:
|
||||
|
Loading…
Reference in New Issue
Block a user