Skip to content

Commit 7a865e8

Browse files
committed
chore: Rename references to master branch to main
1 parent 57ea653 commit 7a865e8

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55

66
push:
77
branches:
8-
- "master"
8+
- "main"
99

1010
pull_request:
1111
branches:
12-
- "master"
12+
- "main"
1313

1414
jobs:
1515

@@ -38,11 +38,11 @@ jobs:
3838

3939
- name: Build and Push Docker images to GHCR and DockerHub
4040
if: |
41-
success() && github.event_name == 'push' && github.ref == 'refs/heads/master'
41+
success() && github.event_name == 'push' && github.ref == 'refs/heads/main'
4242
run: |
4343
docker buildx create --use
4444
45-
tag_name="$(echo "${{ github.ref_name }}" | sed 's/^master$/latest/')"
45+
tag_name="$(echo "${{ github.ref_name }}" | sed 's/^main$/latest/')"
4646
4747
declare -a tags
4848
tags+=(--tag "${{ vars.DOCKER_HUB_USERNAME }}/httpbun:$tag_name")

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h1>
2-
<img alt=Logo src='https://github.com/sharat87/httpbun/raw/master/assets/icon-32.png'>
2+
<img alt=Logo src='https://github.com/sharat87/httpbun/raw/main/assets/icon-32.png'>
33
Httpbun
44
</h1>
55

@@ -40,5 +40,5 @@ duplicating efforts. Thanks!
4040

4141
## License
4242

43-
[Apache-2.0 License](https://github.com/sharat87/httpbun/blob/master/LICENSE). Project includes a
44-
[NOTICE](https://github.com/sharat87/httpbun/blob/master/NOTICE) file.
43+
[Apache-2.0 License](https://github.com/sharat87/httpbun/blob/main/LICENSE). Project includes a
44+
[NOTICE](https://github.com/sharat87/httpbun/blob/main/NOTICE) file.

assets/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,8 @@ <h2 id=configuration>Configuration <a href="#configuration">&para;</a></h2>
480480
<h2 id=license>License</h2>
481481

482482
<p>Httpbun is distributed with the Apache-2.0 License. Please refer to the
483-
<a href='https://github.com/sharat87/httpbun/blob/master/LICENSE' rel=noopener>LICENSE</a> and
484-
<a href='https://github.com/sharat87/httpbun/blob/master/NOTICE' rel=noopener>NOTICE</a> files present in the
483+
<a href='https://github.com/sharat87/httpbun/blob/main/LICENSE' rel=noopener>LICENSE</a> and
484+
<a href='https://github.com/sharat87/httpbun/blob/main/NOTICE' rel=noopener>NOTICE</a> files present in the
485485
source distribution of this project.</p>
486486

487487
<h2 id=credits>Credits</h2>

0 commit comments

Comments
 (0)