Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package.json #168

Merged
merged 4 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Update version
env:
SEMGREP_STATIC_VERSION: "release-${{ inputs.version }}"
Expand All @@ -26,6 +26,10 @@ jobs:
exit 1
fi
echo "${SEMGREP_STATIC_VERSION}" > semgrep-version
- uses: actions/[email protected]
with:
node-version: lts/*
- run: npm ci
- name: Commit and push
id: commit
env:
Expand All @@ -39,6 +43,7 @@ jobs:
BRANCH="gha/bump-version-${NEW_SEMGREP_VERSION}-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
SUBJECT="Bump semgrep to ${NEW_SEMGREP_VERSION}"
git checkout -b "${BRANCH}"
npm version patch
git add .
git commit -m "${SUBJECT}"
git push --set-upstream origin "${BRANCH}"
Expand Down
3 changes: 2 additions & 1 deletion download-osemgrep-pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ case "${uname}" in
*) machine=manylinux;;
esac
# NOT the same as the semgrep version!!!!
OSEMGREP_PRO_VERSION=$(cat ./osemgrep-pro-version)
release_char_count=$(echo "release-" | wc -c)
OSEMGREP_PRO_VERSION=$(cat ./semgrep-version | cut -c $((release_char_count))-)
BINARY=semgrep-core-proprietary-${machine}-${OSEMGREP_PRO_VERSION}
# Check if osemgrep-pro exists and if its a symlink then exit
if [ -L dist/osemgrep-pro ]; then
Expand Down
1 change: 0 additions & 1 deletion osemgrep-pro-version

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "semgrep",
"displayName": "Semgrep",
"description": "Security scans in a snap. Speedy SAST with a powerful rule registry for seamless detection and remediation of code vulnerabilities with each save.",
"version": "1.9.0",
"version": "1.9.1",
"engines": {
"vscode": "^1.86.0"
},
Expand Down
Loading