Skip to content

Commit

Permalink
Fix binary name for release (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivasurya authored Jul 14, 2024
1 parent eb341d5 commit 727f8aa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
run: |
cd sourcecode-parser
sha256sum pathfinder-linux-amd64 > pathfinder-linux-amd64.sha256sum.txt
tar -czvf pathfinder-linux-amd64.tar.gz pathfinder-linux-amd64
cp pathfinder-linux-amd64 pathfinder
tar -czvf pathfinder-linux-amd64.tar.gz pathfinder
- name: Upload Linux Release Asset
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -69,7 +70,8 @@ jobs:
run: |
cd sourcecode-parser
Get-FileHash -Algorithm SHA256 pathfinder-windows-amd64.exe | Select-Object Hash | Out-File -Encoding UTF8 pathfinder-windows-amd64.exe.sha256sum.txt
Compress-Archive -Path pathfinder-windows-amd64.exe -DestinationPath pathfinder-windows-amd64.zip
Copy-Item pathfinder-windows-amd64.exe pathfinder.exe
Compress-Archive -Path pathfinder.exe -DestinationPath pathfinder-windows-amd64.zip
- name: Upload Windows Release Asset
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -104,7 +106,8 @@ jobs:
run: |
cd sourcecode-parser
shasum -a 256 pathfinder-darwin-arm64 > pathfinder-darwin-arm64.sha256sum.txt
tar -czvf pathfinder-darwin-arm64.tar.gz pathfinder-darwin-arm64
cp pathfinder-darwin-arm64 pathfinder
tar -czvf pathfinder-darwin-arm64.tar.gz pathfinder
- name: Upload macOS Release Asset
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codepathfinder",
"version": "0.0.21",
"version": "0.0.22",
"description": "Code Pathfinder, the open-source alternative to CodeQL. Designed for precise flow analysis and advanced structural search, it identifies vulnerabilities in source code.",
"goBinary": {
"name": "codepathfinder",
Expand Down
2 changes: 1 addition & 1 deletion sourcecode-parser/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.21
0.0.22

0 comments on commit 727f8aa

Please sign in to comment.