Skip to content

Commit

Permalink
Some Pipeline cleanups (#100)
Browse files Browse the repository at this point in the history
1. Notify discord on developer builds
2. osx 14 -> 15 and remove win16 both of which are EOL
3. Depth 1 on submodules
  • Loading branch information
baconpaul committed Jan 7, 2022
1 parent 481d166 commit c21db6e
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions azure-pipelines.yml
Expand Up @@ -16,12 +16,9 @@ jobs:
strategy:
matrix:
mac:
imageName: 'macos-10.14'
imageName: 'macos-10.15'
isMac: True
doUpload: True
win-2017:
imageName: 'vs2017-win2016'
isWindows: True
win-2019:
imageName: 'windows-2019'
isWindows: True
Expand Down Expand Up @@ -75,7 +72,7 @@ jobs:
- bash: |
set -ex
git submodule update --init --recursive
git submodule update --depth 1 --init --recursive
displayName: Submodule Update
- bash: |
Expand Down Expand Up @@ -236,6 +233,11 @@ jobs:
artifactName: 'LINUX_BUILD'
targetPath: $(Build.ArtifactStagingDirectory)

- task: DownloadSecureFile@1
inputs:
secureFile: discord-nightly-stochas.webhook


- bash: |
scripts/release-notes.sh > $(Build.ArtifactStagingDirectory)/ReleaseNotes.md
ls $(Build.ArtifactStagingDirectory)
Expand Down Expand Up @@ -314,4 +316,9 @@ jobs:
assetUploadMode: 'delete'
releaseNotesFile: $(Build.ArtifactStagingDirectory)/ReleaseNotes.md
assets: $(Build.ArtifactStagingDirectory)/*.*



- bash: |
curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"content\": \"A new Stochas Nightly is available.\n${GH} ${DATE}\nhttps://github.com/surge-synthesizer/shortcircuit-xt/releases/tag/developer\"}" `cat $AGENT_TEMPDIRECTORY/discord-nightly-stochas.webhook`
displayName: Tell Discord
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')

0 comments on commit c21db6e

Please sign in to comment.