summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2019-05-18 17:16:42 -0400
committerJoseph Donofry <joedonofry@gmail.com>2019-05-18 17:16:42 -0400
commit9d2452ebf5ba4ab38f251ed0595849ec42578154 (patch)
tree2161d592dc0a3bcdca6190f4967ac89d4ec18121
parentc5a34dae8c0f9909a86e6e03e65c371de5af28cd (diff)
Update release again20190519.1azure-pipelines
-rw-r--r--.ci/azure-build.yml17
-rwxr-xr-x.ci/macos/deploy.sh2
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)