chore: rename master to main

Resolves #103
This commit is contained in:
Sam Marks 2022-08-28 14:16:41 -04:00
parent ee16ef452d
commit 50f989fb47
9 changed files with 18 additions and 19 deletions

View file

@ -14,7 +14,7 @@ Before reporting an issue, please search to see if someone has filed a similar i
## Prerequisites ## Prerequisites
* Version: * Version:
* Are you running from source/master: * Are you running from source/main:
* Are you using a released build: * Are you using a released build:
* Operating system: * Operating system:
* Bits: * Bits:

View file

@ -3,7 +3,7 @@ name: Build
on: on:
push: push:
branches: branches:
- master - main
jobs: jobs:
build: build:

View file

@ -12,7 +12,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: master # We have to checkout master or PNPM fails. Tag should be on master anyway. ref: main # We have to checkout main or PNPM fails. Tag should be on main anyway.
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
@ -39,7 +39,7 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4 - uses: stefanzweifel/git-auto-commit-action@v4
with: with:
commit_message: Release Version ${{ github.ref_name }} commit_message: Release Version ${{ github.ref_name }}
branch: master branch: main
- run: git -c user.email="actions@github.com" -c user.name="GitHub Actions" tag -fa ${{ github.ref_name }} -m "${{ github.ref_name }}" - run: git -c user.email="actions@github.com" -c user.name="GitHub Actions" tag -fa ${{ github.ref_name }} -m "${{ github.ref_name }}"
- run: git push -f origin ${{ github.ref_name }} - run: git push -f origin ${{ github.ref_name }}
- run: npm publish --access public - run: npm publish --access public
@ -71,7 +71,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: master # We have to checkout master or PNPM fails. Tag should be on master anyway. ref: main # We have to checkout main or PNPM fails. Tag should be on main anyway.
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store

View file

@ -23,7 +23,7 @@ Guidelines for pull requests:
> **Make your commit messages as descriptive as possible.** Include as much information as you can. > **Make your commit messages as descriptive as possible.** Include as much information as you can.
> Explain anything that the file diffs themselves won't make apparent. > Explain anything that the file diffs themselves won't make apparent.
> **Target Master.** Most of bugfixes or new features should go to the master branch. > **Target main.** Most of bugfixes or new features should go to the main branch.
> **Include only related work.** If your pull request has unrelated commits, it won't be accepted. > **Include only related work.** If your pull request has unrelated commits, it won't be accepted.

View file

@ -20,7 +20,7 @@
<a href="https://www.npmjs.com/package/iconoir-react"> <a href="https://www.npmjs.com/package/iconoir-react">
<img src="https://img.shields.io/npm/dm/iconoir-react?color=98E8F3&label=react&style=flat-square" alt="React Library" /> <img src="https://img.shields.io/npm/dm/iconoir-react?color=98E8F3&label=react&style=flat-square" alt="React Library" />
</a> </a>
<a href="https://github.com/lucaburgio/iconoir/blob/master/LICENSE"> <a href="https://github.com/lucaburgio/iconoir/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/lucaburgio/iconoir?style=flat-square" alt="License" /> <img src="https://img.shields.io/github/license/lucaburgio/iconoir?style=flat-square" alt="License" />
</a> </a>
</div> </div>
@ -63,7 +63,7 @@ You can switch between icons from the right sidebar in the editor.
Import the CSS File: Import the CSS File:
```html ```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/lucaburgio/iconoir@master/css/iconoir.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/lucaburgio/iconoir@main/css/iconoir.css">
``` ```
Here is an example in HTML: Here is an example in HTML:

View file

@ -1,7 +1,7 @@
/*! /*!
* Iconoir * Iconoir
* Copyright (c) [YEAR] Luca Burgio - https://iconoir.com * Copyright (c) [YEAR] Luca Burgio - https://iconoir.com
* License - https://github.com/lucaburgio/iconoir/blob/master/LICENSE (Code: MIT License) * License - https://github.com/lucaburgio/iconoir/blob/main/LICENSE (Code: MIT License)
* CSS file created by Till Esser (@Wiwaltill) and automated by Pascal Jufer (@paescuj) * CSS file created by Till Esser (@Wiwaltill) and automated by Pascal Jufer (@paescuj)
*/ */

View file

@ -3,7 +3,7 @@
Import the CSS File: Import the CSS File:
```html ```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@master/css/iconoir.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/css/iconoir.css">
``` ```
Here is an example in HTML: Here is an example in HTML:

View file

@ -1,7 +1,7 @@
/*! /*!
* Iconoir * Iconoir
* Copyright (c) 2022 Luca Burgio - https://iconoir.com * Copyright (c) 2022 Luca Burgio - https://iconoir.com
* License - https://github.com/lucaburgio/iconoir/blob/master/LICENSE (Code: MIT License) * License - https://github.com/lucaburgio/iconoir/blob/main/LICENSE (Code: MIT License)
* CSS file created by Till Esser (@Wiwaltill) and automated by Pascal Jufer (@paescuj) * CSS file created by Till Esser (@Wiwaltill) and automated by Pascal Jufer (@paescuj)
*/ */

View file

@ -4,7 +4,7 @@ export const SUGGEST_ICON =
'https://github.com/iconoir-icons/iconoir/issues/new?assignees=lucaburgio&labels=icon+request&template=icon_request.md&title=%5BICON%5D'; 'https://github.com/iconoir-icons/iconoir/issues/new?assignees=lucaburgio&labels=icon+request&template=icon_request.md&title=%5BICON%5D';
export const SUPPORT_LINK = 'https://opencollective.com/iconoir/donate'; export const SUPPORT_LINK = 'https://opencollective.com/iconoir/donate';
export const LICENSE_LINK = export const LICENSE_LINK =
'https://github.com/iconoir-icons/iconoir/blob/master/LICENSE'; 'https://github.com/iconoir-icons/iconoir/blob/main/LICENSE';
export const ICON_WIDTH = 140; export const ICON_WIDTH = 140;
export const ICON_SPACE = 20; export const ICON_SPACE = 20;
@ -12,15 +12,14 @@ export const SUGGEST_LIBRARY =
'https://github.com/iconoir-icons/iconoir/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=%5BFEAT%5D'; 'https://github.com/iconoir-icons/iconoir/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=%5BFEAT%5D';
export const FEEDBACK_LINK = 'https://forms.gle/3HvwVYow7D6T8zad7'; export const FEEDBACK_LINK = 'https://forms.gle/3HvwVYow7D6T8zad7';
export const FILE_PREFIX = export const FILE_PREFIX = 'https://github.com/iconoir-icons/iconoir/tree/main';
'https://github.com/iconoir-icons/iconoir/tree/master';
export const LIBRARY_LINKS = { export const LIBRARY_LINKS = {
React: React:
'https://github.com/iconoir-icons/iconoir/tree/master/packages/iconoir-react', 'https://github.com/iconoir-icons/iconoir/tree/main/packages/iconoir-react',
ReactNative: ReactNative:
'https://github.com/iconoir-icons/iconoir/tree/master/packages/iconoir-react-native', 'https://github.com/iconoir-icons/iconoir/tree/main/packages/iconoir-react-native',
Flutter: Flutter:
'https://github.com/iconoir-icons/iconoir/tree/master/packages/iconoir-flutter', 'https://github.com/iconoir-icons/iconoir/tree/main/packages/iconoir-flutter',
Framer: 'https://framer.com/', Framer: 'https://framer.com/',
Figma: 'https://www.figma.com/community/file/983248991460488027/Iconoir-Pack', Figma: 'https://www.figma.com/community/file/983248991460488027/Iconoir-Pack',
}; };