Skip to content

Commit

Permalink
Fix make archive command
Browse files Browse the repository at this point in the history
  • Loading branch information
BarredEwe committed Feb 28, 2025
1 parent 9e92a50 commit 26a2d19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ jobs:
runs-on: macos-15
permissions: write-all
steps:
- uses: actions/checkout@v4
- name: Create achrive
run: |
make achive
run: make archive
- name: Upload Release
uses: actions/upload-artifact@v4
with:
name: prefire.tar.gz
path: "~/prefire.tar.gz"
path: prefire.tar.gz

update-homebrew:
needs: release
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ update:
cd PrefireExecutable/Sources/prefire/Commands/Version/; sed -i '' -e '8 s/.*/ static let value: String = "$(version)"/g' Version.swift

archive:
cp /Users/m.grishutin/Documents/Projects/Prefire/Templates/PreviewTests.stencil Binaries/PrefireBinary.artifactbundle/prefire-${CUR_VERSION}-macos/bin/
cp /Users/m.grishutin/Documents/Projects/Prefire/Templates/PreviewModels.stencil Binaries/PrefireBinary.artifactbundle/prefire-${CUR_VERSION}-macos/bin/
cp Templates/PreviewTests.stencil Binaries/PrefireBinary.artifactbundle/prefire-${CUR_VERSION}-macos/bin/
cp Templates/PreviewModels.stencil Binaries/PrefireBinary.artifactbundle/prefire-${CUR_VERSION}-macos/bin/
tar -czf prefire.tar.gz -C Binaries/PrefireBinary.artifactbundle/prefire-${CUR_VERSION}-macos/bin/ prefire PreviewTests.stencil PreviewModels.stencil
rm Binaries/PrefireBinary.artifactbundle/prefire-${CUR_VERSION}-macos/bin/PreviewTests.stencil
rm Binaries/PrefireBinary.artifactbundle/prefire-${CUR_VERSION}-macos/bin/PreviewModels.stencil

0 comments on commit 26a2d19

Please sign in to comment.