Skip to content

Commit

Permalink
feat: renaming all the things that might break in the switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Cayla Hamann committed Jul 10, 2020
1 parent e542c28 commit 1975478
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
# todo: change this branch name
- master
- main

env:
BOT_NAME: nr-opensource-bot
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.OPENSOURCE_BOT_TOKEN }}
branch: master
branch: main

generate-changelog:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"branches": ["master"],
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
Expand Down
2 changes: 1 addition & 1 deletion amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ frontend:
build:
commands:
- |
if [ "${AWS_BRANCH}" = "master" ]; then
if [ "${AWS_BRANCH}" = "main" ]; then
npm run build:production;
else
npm run build:staging;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Footer = ({ className }) => {
{fileRelativePath && !isComponentDoc && (
<ExternalLink
className={styles.link}
href={`${githubBaseUrl}/blob/master/${fileRelativePath}`}
href={`${githubBaseUrl}/blob/main/${fileRelativePath}`}
>
<FeatherIcon className={styles.linkIcon} name="edit" size="1rem" />
Edit this page
Expand Down
2 changes: 1 addition & 1 deletion src/components/GlobalHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const GlobalHeader = ({ className }) => {
{fileRelativePath && !isComponentDoc && (
<li className={styles.rightSideButton}>
<ExternalLink
href={`${githubBaseUrl}/blob/master/${fileRelativePath}`}
href={`${githubBaseUrl}/blob/main/${fileRelativePath}`}
>
<FeatherIcon name="edit" size="1rem" className={styles.icon} />
</ExternalLink>
Expand Down

0 comments on commit 1975478

Please sign in to comment.