Skip to content

Setup CI/CD #5

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

Closed
hyangah opened this issue Mar 11, 2020 · 0 comments
Closed

Setup CI/CD #5

hyangah opened this issue Mar 11, 2020 · 0 comments

Comments

@hyangah
Copy link
Contributor

hyangah commented Mar 11, 2020

Set up CI/CD

  • CI workflow is triggered for every Gerrit CLs.
  • CD releases a new version of extension nightly from the master branch.
gopherbot pushed a commit that referenced this issue Mar 18, 2020
Daily release workflow is triggered everyday between Mon-Thu, 15:00 UTC (11am EDT).
This prepares the version string through local modification on package.json
and runs the tests again before publishing. The newly released version has the
version string computed based on the last git commit's commit timestamp.
  <Year>.<Month>.<Day>-<Short Commit Hash>

That means, if there is no commit since the last release, the publishing step
will fail (because the MS VS Code extension market will detect the identical version).

Update #5

Change-Id: Ief59f5ed4e89eea66df3607f20263c3f6b75e716
GitHub-Last-Rev: b888148
GitHub-Pull-Request: #10
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/223677
Reviewed-by: Tyler Bui-Palsulich <[email protected]>
gopherbot pushed a commit that referenced this issue Mar 19, 2020
Marketplace does not allow prerelease annotation.
That caused the release error like
https://github.com/golang/vscode-go/runs/517074211?check_suite_focus=true

Use the four digit semver instead. Note the current `vsce package`
command allows prerelease annotation but does not allow four digit
semver format currently.

And record the commit hash to the CHANGELOG.md
since we cannot rely on the version string to encode the info.

Update #5

Change-Id: Id45fc822bb0d5b6b6750e28bf71bbb49f3eb97be
GitHub-Last-Rev: cf71291
GitHub-Pull-Request: #12
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/223961
Reviewed-by: Rebecca Stambler <[email protected]>
@golang golang locked and limited conversation to collaborators Mar 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants