Skip to content

Commit

Permalink
chore(GHA): adjust sed replacements, check if this works on macOS
Browse files Browse the repository at this point in the history
- remove obsolete .spec backup
  • Loading branch information
ibressler committed Feb 11, 2025
1 parent 817eac5 commit 2d67f14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 67 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ jobs:
shell: sh
run: |
OS=${{ matrix.os }}
#sed -i -e "s/\(name=['\"]\)\([^'\"\.]\+\)\(\(\.[^'\"]\+\)\?['\"],\)/\1\2-$VERSION-${OS%-*}\3/" LiveFT.spec
#cat LiveFT.spec # show result of sed replacement
which sed
sed --version
sed -i -E -e "s/(name=['\"])([^'\"\.]+)((\.[^'\"]+)?['\"],)/\1\2-$VERSION-${OS%-*}\3/" LiveFT.spec
cat LiveFT.spec # show result of sed replacement
pyinstaller LiveFT.spec
#pyinstaller --windowed --onedir LiveFT.py
#cat LiveFT.spec
- name: Create DMG
if: matrix.os == 'macos-latest'
Expand Down
63 changes: 0 additions & 63 deletions LiveFT.spec.old

This file was deleted.

0 comments on commit 2d67f14

Please sign in to comment.