By contributing to Talisman, you agree to abide by the code of conduct.
If you are not sure how to begin contributing to Talisman, have a look at the issues tagged under good first issue.
To contribute to Talisman, you need a working golang development environment. Check this link to help you get started.
Once you have go installed and set up, clone the talisman repository. In your working copy, fetch the dependencies by having go mod fetch them for you:
go mod vendor
Run the tests:
go test ./...
Build talisman:
go build -o dist/talisman -ldflags="-s -w" talisman/cmd
To build for multiple platforms we use GoReleaser:
goreleaser build --snapshot --clean
To send in a pull request
- Fork the repo.
- Create a new feature branch based off the master branch.
- Provide the commit message with the issue number and a proper description.
- Ensure that all the tests pass.
- Submit the pull request.
- Checkout a new branch from gh-pages
- Navigate to the docs/ folder and update the files
- See instructions for checking locally here.
- Raise a pull request against the branch gh-pages
- Tag the commit to be released with the next version according to semver conventions
- Push the tag to trigger the GitHub Actions Release pipeline
- Approve the drafted GitHub Release
The latest version will now be accessible to anyone who builds their own binaries, downloads binaries directly from GitHub Releases or homebrew, or uses the install script from the website.