mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
parent
bd05b750cd
commit
574616fdee
1 changed files with 11 additions and 3 deletions
|
@ -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