Skip to content

Commit 727f8aa

Browse files
authored
Fix binary name for release (#75)
1 parent eb341d5 commit 727f8aa

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/release.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
run: |
3636
cd sourcecode-parser
3737
sha256sum pathfinder-linux-amd64 > pathfinder-linux-amd64.sha256sum.txt
38-
tar -czvf pathfinder-linux-amd64.tar.gz pathfinder-linux-amd64
38+
cp pathfinder-linux-amd64 pathfinder
39+
tar -czvf pathfinder-linux-amd64.tar.gz pathfinder
3940
4041
- name: Upload Linux Release Asset
4142
uses: actions/upload-artifact@v3
@@ -69,7 +70,8 @@ jobs:
6970
run: |
7071
cd sourcecode-parser
7172
Get-FileHash -Algorithm SHA256 pathfinder-windows-amd64.exe | Select-Object Hash | Out-File -Encoding UTF8 pathfinder-windows-amd64.exe.sha256sum.txt
72-
Compress-Archive -Path pathfinder-windows-amd64.exe -DestinationPath pathfinder-windows-amd64.zip
73+
Copy-Item pathfinder-windows-amd64.exe pathfinder.exe
74+
Compress-Archive -Path pathfinder.exe -DestinationPath pathfinder-windows-amd64.zip
7375
7476
- name: Upload Windows Release Asset
7577
uses: actions/upload-artifact@v3
@@ -104,7 +106,8 @@ jobs:
104106
run: |
105107
cd sourcecode-parser
106108
shasum -a 256 pathfinder-darwin-arm64 > pathfinder-darwin-arm64.sha256sum.txt
107-
tar -czvf pathfinder-darwin-arm64.tar.gz pathfinder-darwin-arm64
109+
cp pathfinder-darwin-arm64 pathfinder
110+
tar -czvf pathfinder-darwin-arm64.tar.gz pathfinder
108111
109112
- name: Upload macOS Release Asset
110113
uses: actions/upload-artifact@v3

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codepathfinder",
3-
"version": "0.0.21",
3+
"version": "0.0.22",
44
"description": "Code Pathfinder, the open-source alternative to CodeQL. Designed for precise flow analysis and advanced structural search, it identifies vulnerabilities in source code.",
55
"goBinary": {
66
"name": "codepathfinder",

sourcecode-parser/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.21
1+
0.0.22

0 commit comments

Comments
 (0)