Skip to content

Commit

Permalink
Merge pull request #29 from sei-eschwartz/main
Browse files Browse the repository at this point in the history
Don't make a release weekly
  • Loading branch information
sei-eschwartz authored Oct 16, 2022
2 parents fbefa01 + e7d04ef commit 0b37f29
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
Z3_VERSION: z3-4.8.14
strategy:
matrix:
ghidra-git:
ghidraVersion: "master"
# Disabled because we can't even build ghidra master with gradle 6.9.2
#ghidra-git:
# ghidraVersion: "master"
ghidra1015:
ghidraUrl: "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_10.1.5_build/ghidra_10.1.5_PUBLIC_20220726.zip"
ghidraVersion: "10.1.5"
Expand Down Expand Up @@ -179,7 +180,7 @@ jobs:
- script: gradle --stop
- publish: dist/
- task: GitHubRelease@0
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'))
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'), ne(variables['Build.Reason'], 'Schedule'))
inputs:
gitHubConnection: gh
repositoryName: $(Build.Repository.Name)
Expand All @@ -188,7 +189,7 @@ jobs:
tag: ghidra-$(ghidraVersion)
continueOnError: true
- task: DownloadSecureFile@1
condition: eq(variables['Build.SourceBranchName'], 'main')
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'), ne(variables['Build.Reason'], 'Schedule'))
name: deployKey
inputs:
secureFile: 'deploy.key'
Expand All @@ -203,13 +204,13 @@ jobs:
git remote add ssh-origin [email protected]:sei-eschwartz/kaiju.git
git push --delete ssh-origin ghidra-$(ghidraVersion)
rm -f $(deployKey.secureFilePath)
condition: eq(variables['Build.SourceBranchName'], 'main')
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'), ne(variables['Build.Reason'], 'Schedule'))
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
continueOnError: true
displayName: Delete old git tag ghidra-$(ghidraVersion)
- task: GitHubRelease@0
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'))
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'), ne(variables['Build.Reason'], 'Schedule'))
inputs:
gitHubConnection: gh
repositoryName: $(Build.Repository.Name)
Expand Down

0 comments on commit 0b37f29

Please sign in to comment.