mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
3858e38bfa
commit
aab8fe07de
1 changed files with 3 additions and 3 deletions
|
@ -17,15 +17,15 @@ build:
|
|||
working-directory: ${{prefix}}/bin
|
||||
script:
|
||||
- run: install "$SRCROOT"/bin/sourcery .
|
||||
if: <2.1.4
|
||||
if: <2.1.4 || >=2.1.7
|
||||
- run: install "$SRCROOT"/sourcery-{{version}}/bin/sourcery .
|
||||
if: '>=2.1.4'
|
||||
if: '>=2.1.4<2.1.7'
|
||||
|
||||
test:
|
||||
- run: test "$(sourcery --version)" = "{{version}}"
|
||||
if: <2.1.4
|
||||
# 2.1.4 has the wrong version
|
||||
- run: sourcery --version
|
||||
if: '>=2.1.4'
|
||||
if: 2.1.4
|
||||
|
||||
display-name: Sourcery
|
||||
|
|
Loading…
Reference in a new issue