mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-28 01:25:39 -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 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
|
||||
|
||||
# Sync up to latest from the DT repo
|
||||
git remote add upstream https://github.com/DefinitelyTyped/DefinitelyTyped.git
|
||||
git fetch upstream
|
||||
git merge upstream/master
|
||||
git push origin
|
||||
git reset --hard upstream/master
|
||||
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 add -A
|
||||
|
||||
Reference in New Issue
Block a user