Github Release publication only available for master branch
This commit is contained in:
parent
c0c439a4d1
commit
19ec62d5ef
|
@ -32,4 +32,5 @@ steps:
|
|||
assets: 'espanso-*'
|
||||
addChangeLog: false
|
||||
repositoryName: ${{ parameters.github.repositoryName }}
|
||||
isPreRelease: ${{ parameters.github.isPreRelease }}
|
||||
isPreRelease: ${{ parameters.github.isPreRelease }}
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
|
@ -18,4 +18,5 @@ steps:
|
|||
git add -A
|
||||
git commit -m "Update to version: $VER"
|
||||
git push
|
||||
displayName: "Publishing to Homebrew"
|
||||
displayName: "Publishing to Homebrew"
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
|
@ -2,6 +2,11 @@ parameters:
|
|||
rust_version: stable
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
echo Master check
|
||||
displayName: Master branch check
|
||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||
|
||||
- template: install-rust.yml
|
||||
|
||||
- script: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user