-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
910765a
commit c6e0b80
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ pushd $CLI_DIR | |
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-to-$LS_VERSION | ||
BASE=$(git log --pretty=tformat:"%h" -n1 .) | ||
git checkout -b $BRANCH | ||
|
||
git config --global user.email "[email protected]" | ||
|
@@ -32,5 +33,5 @@ pushd $CLI_DIR | |
git push --set-upstream origin $BRANCH | ||
|
||
COMMIT_HASH=$(git log --pretty=tformat:"%h" -n1 .) | ||
gh pr create --repo github.com/snyk/cli --base main --fill-verbose --head $COMMIT_HASH --title "feat(language-server): integrate LS (automatic PR) ($LS_VERSION)" --body "$(echo $UPGRADE | sed 's/.*Message: \(.*\) URL.*$/\1/')" | ||
gh pr create --repo github.com/snyk/cli --base $BASE --head $COMMIT_HASH --title "feat(language-server): integrate LS ($LS_VERSION)" --body "$(echo $UPGRADE | sed 's/.*Message: \(.*\) URL.*$/\1/')" | ||
popd |