Clone the repository in your workspace and move into it:
git clone [email protected]:dnsimple/coredns-dnsimple.git
cd coredns-dnsimple
Install standard Go development tooling:
make install-tools
To configure a local CoreDNS server:
cp Corefile.example Corefile
vim Corefile
make build
This will produce a coredns-dnsimple
binary in the current directory.
To run the unit test suite:
make test
make start
The following instructions uses $VERSION
as a placeholder, where $VERSION
is a MAJOR.MINOR.BUGFIX
release such as 1.2.0
.
-
Set the version in
./version.go
:PluginVersion = "$VERSION"
-
Run the test suite and ensure all the tests pass.
-
Finalize the
## main
section inCHANGELOG.md
assigning the version. -
Commit and push the changes
git commit -a -m "Release $VERSION" git push origin main
-
Wait for CI to complete.
-
Release the version.
make release VERSION=$VERSION