Skip to content

Commit

Permalink
Merge pull request #170 from semgrep/gha/bump-version-1.88.0-10946963…
Browse files Browse the repository at this point in the history
…653-1

chore: Release Version 1.88.0
  • Loading branch information
ajbt200128 authored Sep 19, 2024
2 parents c2e28fd + e13f562 commit 9aa5821
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: lts/*
- name: Update version
env:
SEMGREP_STATIC_VERSION: "release-${{ inputs.version }}"
Expand All @@ -26,10 +29,6 @@ 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 @@ -43,12 +42,15 @@ 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}"
echo "branch=${BRANCH}" >> "${GITHUB_OUTPUT}"
echo "subject=${SUBJECT}" >> "${GITHUB_OUTPUT}"
- name: bump package patch version
run: |
npm version patch
git push
- name: Create PR
id: open-pr
env:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.5",
"version": "1.9.6",
"engines": {
"vscode": "^1.86.0"
},
Expand Down
2 changes: 1 addition & 1 deletion semgrep-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release-1.86.0
release-1.88.0

0 comments on commit 9aa5821

Please sign in to comment.