Simple Icons welcomes contributions and corrections. Before contributing, please make sure you have read the guidelines below. If you decide to contribute anything, please do the following:
- Fork this repository
- Create a new branch from the latest
master
(read more here) - Start hacking on the new branch
- Commit and push to the new branch
- Make a pull request
Also consider the following, this Action is tailor-made for Simple Icons and changes should always be made with that in mind. If you wish to implement significant changes you are perhaps better off forking this repository.
Please note that modifications should follow these coding guidelines:
- Indent is 2 spaces
- Use
async
/await
over Promises and callbacks
We use @vercel/ncc to create a single .js
file that contains all the source code needed to run the Action. This means that this file works without the node_modules/
folder present.
Therefore, you should make sure the npm run build
command does not fail due to your changes. Run npm run build
before making a commit and include the changes in the ./lib
folder in your commit.
Use this command below to preview the release note:
SI_REPOSITORY_TOKEN='your-repo-token' npm run preview
- Update the
version
field inpackage.json
- Run
npm install
to apply allpackage.json
changes topackage-lock.json
- Create a commit to
master
branch with theRelease v{major}.{minor}.{patch}
commit message, and push the commit - Create a release on the latest commit, the release tag should be
v{major}.{minor}.{patch}
- Switch to the
v{major}
branch, rebase themaster
branch tov{major}
branch, and push to the remote