-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Development Guide | ||
|
||
## Release a new version | ||
|
||
1. Run `FROM= TO= make version` to update all version numbers in the project. | ||
|
||
- The `FROM` is the current version number, the `TO` is the new version number. | ||
- When you run the command, it will update the version number in the `Cargo.toml`, `package.json`, `gemspec` ... | ||
- Sometimes, this command may modify a wrong file, you need to `git diff` check the changed files and fix it manually. | ||
|
||
1. Create a new tag with the new version number, e.g. `git tag v0.1.0`. | ||
1. Push the tag to the remote repository. | ||
1. Then the GitHub Actions will automatically build and publish the new version to the GitHub Package Registry. |