Skip to content

Commit

Permalink
fix: move upgrade down to reuse commits
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiandoetsch committed Jun 20, 2024
1 parent 75be44f commit ef0ec7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/create-cli-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@ popd

WHAT_CHANGED=$(git whatchanged "$LS_COMMIT_HASH"...HEAD)
BODY=$(printf "## Changes since last integration of Language Server\n\n\`\`\`\n%s\n\`\`\`" "$WHAT_CHANGED")
BRANCH=feat/automatic-upgrade-of-ls

pushd $CLI_DIR
git checkout $BRANCH || git checkout -b $BRANCH

UPGRADE=$(go run scripts/upgrade-snyk-go-dependencies.go --name=snyk-ls)
LS_VERSION=$(echo $UPGRADE | sed 's/.*Sha: \(.*\) URL.*/\1/')
BRANCH=feat/automatic-upgrade-of-ls
git checkout $BRANCH || git checkout -b $BRANCH

git config --global user.email "[email protected]"
git config --global user.name "Snyk Team IDE"
Expand Down

0 comments on commit ef0ec7b

Please sign in to comment.