File tree Expand file tree Collapse file tree 2 files changed +11
-167
lines changed Expand file tree Collapse file tree 2 files changed +11
-167
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -37,19 +37,14 @@ lsif-java snapshot-lsif # from github.com/sourcegraph/lsif-java
37
37
38
38
## Publishing a release
39
39
40
- 1 . Run the ` dev/bump-version ` script. This will create a PR with the ChangeLog.
41
- ```
42
- GITHUB_TOKEN="" ./dev/bump-version <version>
43
- ```
44
- The GitHub token is needed because fetching PR information for generating
45
- the ChangeLog can run into GitHub rate limits.
46
- 2 . After the PR is merged, update your ` main ` branch and tag the commit.
47
- ``` sh
48
- git checkout main
49
- git pull --ff-only
50
- git tag v< version>
51
- git push v< version>
52
- ```
53
- A GitHub Action should be triggered by the push; it will publish:
54
- - A new version of scip-typescript to npm.
55
- - A Docker image to Docker hub, using the new version of scip-typescript.
40
+ First, make sure you are on the main branch and have no dirty changes.
41
+
42
+ Next, run the ` dev/bump-version ` script to bump the version in package.json and
43
+ push a git tag to trigger a CI job.
44
+ ```
45
+ ./dev/bump-version VERSION_TO_RELEASE
46
+ # example: ./dev/bump-version 2.3.1
47
+ ```
48
+
49
+ Once the release job has finished, create a GitHub release
50
+ https://github.com/sourcegraph/scip-typescript/releases/new
You can’t perform that action at this time.
0 commit comments