mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
update publish types (#17953)
* update-type build definition * more updates * comments * fix path * folder change * test change * test update script * revert test changes
This commit is contained in:
@@ -44,17 +44,20 @@ steps:
|
|||||||
git config --global user.name "Azure Data Studio"
|
git config --global user.name "Azure Data Studio"
|
||||||
|
|
||||||
git clone https://$(GITHUB_TOKEN)@$(REPO) --depth=1
|
git clone https://$(GITHUB_TOKEN)@$(REPO) --depth=1
|
||||||
node build/azure-pipelines/publish-types/update-types.js
|
|
||||||
|
|
||||||
TAG_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
|
|
||||||
|
|
||||||
cd DefinitelyTyped
|
cd DefinitelyTyped
|
||||||
|
|
||||||
# Sync up to latest from the DT repo
|
# Sync up to latest from the DT repo
|
||||||
git remote add upstream https://github.com/DefinitelyTyped/DefinitelyTyped.git
|
git remote add upstream https://github.com/DefinitelyTyped/DefinitelyTyped.git
|
||||||
git fetch upstream
|
git fetch upstream
|
||||||
git merge upstream/master
|
git reset --hard upstream/master
|
||||||
git push origin
|
git push --force
|
||||||
|
|
||||||
|
# Update the type
|
||||||
|
cd ..
|
||||||
|
node build/azure-pipelines/publish-types/update-types.js
|
||||||
|
|
||||||
|
cd DefinitelyTyped
|
||||||
|
TAG_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
|
|
||||||
git diff --color | cat
|
git diff --color | cat
|
||||||
git add -A
|
git add -A
|
||||||
|
|||||||
Reference in New Issue
Block a user