-
Notifications
You must be signed in to change notification settings - Fork 743
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extension/tools/release: remove tool requirement of jq, git, gh
Remove jq as the version check is now skipped. Remove gh as the github release and asset upload is now handled using relui's client library. Remove git as it's never being used. Local test log: $ TAG_NAME=v0.43.3 VSCE_PAT=fake go run -C extension tools/release/release.go publish ERROR TF400813: The user 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource. failed to publish release exit status 1 For #3500 Change-Id: I121db842f74079310c2599c7e09081dd73863cff Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/614335 Auto-Submit: Hongxiang Jiang <hxjiang@golang.org> kokoro-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Commit-Queue: Hongxiang Jiang <hxjiang@golang.org>
- Loading branch information
Showing
4 changed files
with
11 additions
and
72 deletions.
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
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 |
---|---|---|
@@ -1,5 +1,2 @@ | ||
jq -r .version package.json | ||
stat /tmp/artifacts/go-0.43.0.vsix | ||
release create --generate-notes --target 4893cd984d190bdf2cd65e11c425b42819ae6f57 --title Release v0.43.0 --draft | ||
gh release create --generate-notes --target 4893cd984d190bdf2cd65e11c425b42819ae6f57 --title Release v0.43.0 --draft --prerelease -R github.com/golang/vscode-go v0.43.0 /tmp/artifacts/go-0.43.0.vsix | ||
npx vsce publish -i /tmp/artifacts/go-0.43.0.vsix --pre-release |
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 |
---|---|---|
@@ -1,4 +0,0 @@ | ||
jq -r .version package.json | ||
stat /tmp/artifacts/go-0.44.0-rc.1.vsix | ||
release create --generate-notes --target 4893cd984d190bdf2cd65e11c425b42819ae6f57 --title Release v0.44.0-rc.1 --draft | ||
gh release create --generate-notes --target 4893cd984d190bdf2cd65e11c425b42819ae6f57 --title Release v0.44.0-rc.1 --draft --prerelease -R github.com/golang/vscode-go v0.44.0-rc.1 /tmp/artifacts/go-0.44.0-rc.1.vsix | ||
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 |
---|---|---|
@@ -1,5 +1,2 @@ | ||
jq -r .version package.json | ||
stat /tmp/artifacts/go-0.44.0.vsix | ||
release create --generate-notes --target 4893cd984d190bdf2cd65e11c425b42819ae6f57 --title Release v0.44.0 --draft | ||
gh release create --generate-notes --target 4893cd984d190bdf2cd65e11c425b42819ae6f57 --title Release v0.44.0 --draft -R github.com/golang/vscode-go v0.44.0 /tmp/artifacts/go-0.44.0.vsix | ||
npx vsce publish -i /tmp/artifacts/go-0.44.0.vsix |