-
Checkout the commit that you want to tag with the new release.
-
Run the following command to create an annotated tag:
git tag -a <new tag>
- Push the tag to GitHub:
git push origin <new tag>
-
Update the
go.mod
file to the module name with the correct version. -
Change all the import paths to import
v<new major version>
.
For example, if the current import path is "github.com/dgraph-io/dgo/v200"
.
When we release v201.07.0, we would replace the import paths to "github.com/dgraph-io/dgo/v201"
.
-
Update Supported Version.
-
Commit all the changes and get them merged to master branch.
Now, follow the steps to release Minor Version as above.
Note that, now you may have to also change the import paths in the applications that use dgo including dgraph and raise appropriate PR for them.