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