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

Improve vscode-eslint build script in order to lock version, but with git tags instead of commit hash #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
9 changes: 6 additions & 3 deletions script/build-vscode-eslint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

# Latest stable release for vscode-eslint is 2.4.4
# https://github.com/microsoft/vscode-eslint/tags
RELEASE_TAG="release/2.4.4"

# prepare
mkdir -p $DIR/../tmp
mkdir -p $DIR/../dist

# clone
cd $DIR/../tmp
git clone --depth=1 [email protected]:Microsoft/vscode-eslint vscode-eslint
git clone [email protected]:Microsoft/vscode-eslint vscode-eslint

# pull
cd $DIR/../tmp/vscode-eslint
git clean -fd
git checkout .
git pull --rebase
git checkout tags/$RELEASE_TAG

# npm install
cd $DIR/../tmp/vscode-eslint
Expand Down