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

View File

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

View File

@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
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
with:
path: ~/.pnpm-store
@ -39,7 +39,7 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4
with:
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 push -f origin ${{ github.ref_name }}
- run: npm publish --access public
@ -71,7 +71,7 @@ jobs:
steps:
- uses: actions/checkout@v2
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
with:
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.
> 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.

View File

@ -20,7 +20,7 @@
<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" />
</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" />
</a>
</div>
@ -63,7 +63,7 @@ You can switch between icons from the right sidebar in the editor.
Import the CSS File:
```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:

View File

@ -1,7 +1,7 @@
/*!
* Iconoir
* 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)
*/

View File

@ -3,7 +3,7 @@
Import the CSS File:
```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:

File diff suppressed because one or more lines are too long

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';
export const SUPPORT_LINK = 'https://opencollective.com/iconoir/donate';
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_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';
export const FEEDBACK_LINK = 'https://forms.gle/3HvwVYow7D6T8zad7';
export const FILE_PREFIX =
'https://github.com/iconoir-icons/iconoir/tree/master';
export const FILE_PREFIX = 'https://github.com/iconoir-icons/iconoir/tree/main';
export const LIBRARY_LINKS = {
React:
'https://github.com/iconoir-icons/iconoir/tree/master/packages/iconoir-react',
'https://github.com/iconoir-icons/iconoir/tree/main/packages/iconoir-react',
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:
'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/',
Figma: 'https://www.figma.com/community/file/983248991460488027/Iconoir-Pack',
};