Skip to content

Commit

Permalink
Add a project-version directory to the tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
woodcoder committed Feb 9, 2024
1 parent 1c4e590 commit 7a57195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
docker run -t -u "$(id -u):$(id -g)" -e "HOME=/work" -w /work -v "$PWD:/work" bristol-braille/bookindex:latest
mv target/arm-unknown-linux-gnueabihf/release/libbookindex.so .
- name: Make tarball
run: tar czvf canute-ui.tar.gz README.md LICENSE requirements-pi.txt canute_ui ui libbookindex.so config.rc.in run.sh media.py books
run: tar czvf canute-ui.tar.gz --transform "s,^,canute-ui-$GITHUB_REF_NAME/," README.md LICENSE requirements-pi.txt canute_ui ui libbookindex.so config.rc.in run.sh media.py books
- name: Release (if tagged)
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 7a57195

Please sign in to comment.