ci: fix deploy script for completion directory copy (#577)

Adds an explicit mkdir to the completions directory. No idea why it was bugging out before though, it worked fine on nightly builds.
This commit is contained in:
Clement Tsang 2021-09-12 16:16:05 -04:00 committed by GitHub
parent c7626057c9
commit 7e9e18faac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -224,7 +224,8 @@ jobs:
- name: Move autocomplete to working directory - name: Move autocomplete to working directory
shell: bash shell: bash
run: | run: |
cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out completion mkdir completion
cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out/. completion
- name: Strip release binary (macOS or Linux x86-64/i686) - name: Strip release binary (macOS or Linux x86-64/i686)
if: matrix.triple.strip == true if: matrix.triple.strip == true

View File

@ -218,7 +218,8 @@ jobs:
- name: Move autocomplete to working directory - name: Move autocomplete to working directory
shell: bash shell: bash
run: | run: |
cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out completion mkdir completion
cp -r ./target/${{ matrix.triple.target }}/release/build/bottom-*/out/. completion
- name: Strip release binary (macOS or Linux x86-64/i686) - name: Strip release binary (macOS or Linux x86-64/i686)
if: matrix.triple.strip == true if: matrix.triple.strip == true