Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ed67c44

Browse files
committedSep 4, 2024·
fix download action
1 parent 62b09d1 commit ed67c44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎download-osemgrep-pro.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ case "${uname}" in
99
*) machine=manylinux;;
1010
esac
1111
# NOT the same as the semgrep version!!!!
12-
OSEMGREP_PRO_VERSION=$(cat ./osemgrep-pro-version)
12+
release_char_count=$(echo "release-" | wc -c)
13+
OSEMGREP_PRO_VERSION=$(cat ./semgrep-version | cut -c $((release_char_count))-)
1314
BINARY=semgrep-core-proprietary-${machine}-${OSEMGREP_PRO_VERSION}
1415
# Check if osemgrep-pro exists and if its a symlink then exit
1516
if [ -L dist/osemgrep-pro ]; then

‎osemgrep-pro-version

-1
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.