From 9d2452ebf5ba4ab38f251ed0595849ec42578154 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Sat, 18 May 2019 17:16:42 -0400 Subject: [PATCH] Update release again --- .ci/azure-build.yml | 17 ++++++++++++----- .ci/macos/deploy.sh | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.ci/azure-build.yml b/.ci/azure-build.yml index 3dc53dd2..ac65bac1 100644 --- a/.ci/azure-build.yml +++ b/.ci/azure-build.yml @@ -3,6 +3,7 @@ steps: - bash: mkdir -p ${ARTIFACT_STAGING_DIRECTORY} env: ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory)) + name: createStaging - bash: | export CXX=${CXX_COMPILER} export CC=${C_COMPILER} @@ -17,6 +18,8 @@ steps: cp ./.ci/bintray-release.json . env: ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory)) + name: build + displayName: build # - task: CopyFiles@2 # inputs: # sourceFolder: $(Build.Repository.LocalPath) # Optional @@ -28,15 +31,19 @@ steps: # overWrite: true # Optional # flattenFolders: true # Optional # Create a variable for build success -- bash: ls ${ARTIFACT_STAGING_DIRECTORY} +- bash: | + echo ${ARTIFACT_STAGING_DIRECTORY} + ls ${ARTIFACT_STAGING_DIRECTORY} env: ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory)) - pwsh: if( (Get-ChildItem $ENV:ARTIFACT_STAGING_DIRECTORY | Measure-Object).Count -eq 0) { echo '##vso[task.setvariable variable=buildSuccess]false' } else { echo '##vso[task.setvariable variable=buildSuccess]true' } env: ARTIFACT_STAGING_DIRECTORY: $(Build.ArtifactStagingDirectory)) + name: buildCheck - task: GitHubRelease@0 condition: eq(variables['buildSuccess'], 'true') continueOnError: true + name: GitHubRelease inputs: gitHubConnection: nheko-reborn-pipeline repositoryName: '$(Build.Repository.Name)' @@ -45,8 +52,8 @@ steps: tagSource: 'manual' # Required when action == Create# Options: auto, manual tag: $(Build.BuildNumber) # Required when action == Edit || Action == Delete || TagSource == Manual #title: # Optional - releaseNotesSource: 'file' # Optional. Options: file, input - releaseNotesFile: CHANGELOG.md # Optional + #releaseNotesSource: 'file' # Optional. Options: file, input + #releaseNotesFile: CHANGELOG.md # Optional #releaseNotes: # Optional #assets: '$(Build.ArtifactStagingDirectory)/*' # Optional assetUploadMode: 'delete' # Optional. Options: delete, replace @@ -65,8 +72,8 @@ steps: tagSource: 'manual' # Required when action == Create# Options: auto, manual tag: $(Build.BuildNumber) # Required when action == Edit || Action == Delete || TagSource == Manual #title: # Optional - releaseNotesSource: 'file' # Optional. Options: file, input - releaseNotesFile: CHANGELOG.md # Optional + #releaseNotesSource: 'file' # Optional. Options: file, input + #releaseNotesFile: CHANGELOG.md # Optional #releaseNotes: # Optional #assets: '$(Build.ArtifactStagingDirectory)/*' # Optional assetUploadMode: 'delete' # Optional. Options: delete, replace diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh index 2bc6e320..a9db94a7 100755 --- a/.ci/macos/deploy.sh +++ b/.ci/macos/deploy.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh -set -eux +set -ex # unused #TAG=$(git tag -l --points-at HEAD)