mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
3858e38bfa
commit
aab8fe07de
|
@ -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