mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-23 17:04:12 +03:00
If vscode exists, fetch updates (#19)
This commit is contained in:
parent
2bf10dde0c
commit
606d3f8ff2
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
vscode
|
12
get_repo.sh
12
get_repo.sh
@ -1,8 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
git clone https://github.com/Microsoft/vscode.git
|
||||
cd vscode
|
||||
if [ -d vscode ]; then
|
||||
cd vscode
|
||||
git fetch --all
|
||||
else
|
||||
git clone https://github.com/Microsoft/vscode.git
|
||||
cd vscode
|
||||
fi
|
||||
|
||||
export LATEST_MS_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
echo "Got the latest MS tag: ${LATEST_MS_TAG}"
|
||||
git checkout $LATEST_MS_TAG
|
||||
cd ..
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user