fix(fluentci)

closes #5912
closes #5913
This commit is contained in:
Jacob Heider 2024-04-17 18:26:39 -04:00
parent f609e4db5c
commit e937adabff
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -19,6 +19,9 @@ build:
# 0.12.0 didn't bump version
- run: sed -i -e 's/export const VERSION = ".*";/export const VERSION = "{{ version }}";/' consts.ts
working-directory: src
# 0.12.7+ shipped with a deno.lock that prevents building
- run: rm deno.lock
if: '>=0.12.7'
- deno compile -A --unstable --import-map="$SRCROOT"/import_map.json --output fluentci ./main.ts
- mkdir -p "{{ prefix }}"/bin
- cp fluentci "{{ prefix }}"/bin