Skip to content

Commit

Permalink
fix(ci): renamed main branch to master
Browse files Browse the repository at this point in the history
I reeaaallyyy didn't wanna have to do this but semantic-release gives me no choice. T-T
  • Loading branch information
Pkmmte committed Oct 17, 2022
1 parent 23fbfd3 commit fb19542
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- main
- master
- next
- beta
- alpha
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
run: yarn build

- name: Release
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/alpha')
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/alpha')
run: yarn semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">

[![GitHub license](https://img.shields.io/github/license/Wave-Play/pilot?style=flat)](https://github.com/Wave-Play/pilot/blob/main/LICENSE) [![Tests](https://github.com/Wave-Play/pilot/workflows/CI/badge.svg)](https://github.com/Wave-Play/pilot/actions) ![npm](https://img.shields.io/npm/v/@waveplay/pilot) [![minizipped size](https://badgen.net/bundlephobia/minzip/@waveplay/pilot)](https://bundlephobia.com/result?p=@waveplay/pilot)
[![GitHub license](https://img.shields.io/github/license/Wave-Play/pilot?style=flat)](https://github.com/Wave-Play/pilot/blob/master/LICENSE) [![Tests](https://github.com/Wave-Play/pilot/workflows/CI/badge.svg)](https://github.com/Wave-Play/pilot/actions) ![npm](https://img.shields.io/npm/v/@waveplay/pilot) [![minizipped size](https://badgen.net/bundlephobia/minzip/@waveplay/pilot)](https://bundlephobia.com/result?p=@waveplay/pilot)

**NextJS routing for Expo & React Native**

Expand Down Expand Up @@ -105,7 +105,7 @@ This project was originally developed as an internal router for [WavePlay](https

## Documentation

- [Advanced setup for NextJS](https://github.com/Wave-Play/pilot/blob/main/docs/advanced-nextjs.md)
- [Advanced setup for NextJS](https://github.com/Wave-Play/pilot/blob/master/docs/advanced-nextjs.md)

## License

Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
release: {
branches: ['main', 'beta', 'alpha']
branches: ['master', 'beta', 'alpha']
},
repositoryUrl: 'https://github.com/Wave-Play/pilot'
};

0 comments on commit fb19542

Please sign in to comment.