mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
bd05b750cd
commit
574616fdee
|
@ -15,9 +15,17 @@ warnings:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
working-directory: ${{prefix}}/bin
|
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: |
|
test:
|
||||||
[[ "$(sourcery --version)" = "{{version}}" ]]
|
- 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
|
display-name: Sourcery
|
||||||
|
|
Loading…
Reference in a new issue