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