fix(sourcery)

closes #4867
This commit is contained in:
Jacob Heider 2024-01-16 13:18:10 -05:00
parent bd05b750cd
commit 574616fdee
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -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