fix(sourcery)

closes #4960
This commit is contained in:
Jacob Heider 2024-01-23 14:15:54 -05:00
parent 3858e38bfa
commit aab8fe07de
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -17,15 +17,15 @@ build:
working-directory: ${{prefix}}/bin working-directory: ${{prefix}}/bin
script: script:
- run: install "$SRCROOT"/bin/sourcery . - run: install "$SRCROOT"/bin/sourcery .
if: <2.1.4 if: <2.1.4 || >=2.1.7
- run: install "$SRCROOT"/sourcery-{{version}}/bin/sourcery . - run: install "$SRCROOT"/sourcery-{{version}}/bin/sourcery .
if: '>=2.1.4' if: '>=2.1.4<2.1.7'
test: test:
- run: test "$(sourcery --version)" = "{{version}}" - run: test "$(sourcery --version)" = "{{version}}"
if: <2.1.4 if: <2.1.4
# 2.1.4 has the wrong version # 2.1.4 has the wrong version
- run: sourcery --version - run: sourcery --version
if: '>=2.1.4' if: 2.1.4
display-name: Sourcery display-name: Sourcery