1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00

feat: rename main branch

refs #2645
This commit is contained in:
Carlos A Becker 2021-11-12 17:23:32 -03:00
parent df0216d585
commit 416d76eec4
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
13 changed files with 16 additions and 20 deletions

View File

@ -50,7 +50,7 @@ body:
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/goreleaser/goreleaser/blob/master/CODE_OF_CONDUCT.md)
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/goreleaser/goreleaser/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true

View File

@ -3,7 +3,7 @@ name: build
on:
push:
branches:
- 'master'
- 'main'
tags:
- 'v*'
pull_request:
@ -100,7 +100,7 @@ jobs:
run: snapcraft login --with <(echo "${{ secrets.SNAPCRAFT_LOGIN }}")
-
name: GoReleaser
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}

View File

@ -3,7 +3,7 @@ name: docs
on:
push:
branches:
- 'master'
- 'main'
paths:
- '.github/workflows/htmltest.yml'
- 'www/*'

View File

@ -3,7 +3,7 @@ name: generate
on:
push:
branches:
- 'master'
- 'main'
paths:
- '.github/workflows/generate.yml'
- CONTRIBUTING.md
@ -24,4 +24,4 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "docs: update"
branch: master
branch: main

View File

@ -4,7 +4,6 @@ on:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:

View File

@ -4,7 +4,6 @@ on:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:

View File

@ -1,6 +1,6 @@
# Contributing
By participating to this project, you agree to abide our [code of conduct](https://github.com/goreleaser/goreleaser/blob/master/CODE_OF_CONDUCT.md).
By participating to this project, you agree to abide our [code of conduct](https://github.com/goreleaser/goreleaser/blob/main/CODE_OF_CONDUCT.md).
## Setup your machine
@ -62,8 +62,7 @@ You can follow the documentation on
## Submit a pull request
Push your branch to your `goreleaser` fork and open a pull request against the
master branch.
Push your branch to your `goreleaser` fork and open a pull request against the main branch.
## Financial contributions

View File

@ -28,7 +28,7 @@ Documentation is hosted live at https://goreleaser.com
[![Release](https://img.shields.io/github/release/goreleaser/goreleaser.svg?style=for-the-badge)](https://github.com/goreleaser/goreleaser/releases/latest)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=for-the-badge)](/LICENSE.md)
[![Build status](https://img.shields.io/github/workflow/status/goreleaser/goreleaser/build?style=for-the-badge)](https://github.com/goreleaser/goreleaser/actions?workflow=build)
[![Codecov branch](https://img.shields.io/codecov/c/github/goreleaser/goreleaser/master.svg?style=for-the-badge)](https://codecov.io/gh/goreleaser/goreleaser)
[![Codecov branch](https://img.shields.io/codecov/c/github/goreleaser/goreleaser/main.svg?style=for-the-badge)](https://codecov.io/gh/goreleaser/goreleaser)
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge)](http://godoc.org/github.com/goreleaser/goreleaser)
[![Powered By: GoReleaser](https://img.shields.io/badge/powered%20by-goreleaser-green.svg?style=for-the-badge)](https://github.com/goreleaser)
[![Backers on Open Collective](https://opencollective.com/goreleaser/backers/badge.svg?style=for-the-badge)](https://opencollective.com/goreleaser/backers/)

View File

@ -1,6 +1,6 @@
# Contributing
By participating to this project, you agree to abide our [code of conduct](https://github.com/goreleaser/goreleaser/blob/master/CODE_OF_CONDUCT.md).
By participating to this project, you agree to abide our [code of conduct](https://github.com/goreleaser/goreleaser/blob/main/CODE_OF_CONDUCT.md).
## Setup your machine
@ -62,8 +62,7 @@ You can follow the documentation on
## Submit a pull request
Push your branch to your `goreleaser` fork and open a pull request against the
master branch.
Push your branch to your `goreleaser` fork and open a pull request against the main branch.
## Financial contributions

View File

@ -13,7 +13,7 @@ includes:
- from_file:
path: ./config/goreleaser.yml
- from_url:
url: https://raw.githubusercontent.com/goreleaser/goreleaser/master/.goreleaser.yml
url: https://raw.githubusercontent.com/goreleaser/goreleaser/main/.goreleaser.yml
- from_url:
url: caarlos0/goreleaserfiles/main/packages.yml # the https://raw.githubusercontent.com/ prefix may be ommited
- from_url:

View File

@ -250,7 +250,7 @@ If you need more things, you are encouraged to keep your own image. You can
always use GoReleaser's [own Dockerfile][dockerfile] as an example though
and iterate from that.
[dockerfile]: https://github.com/goreleaser/goreleaser/blob/master/Dockerfile
[dockerfile]: https://github.com/goreleaser/goreleaser/blob/main/Dockerfile
[releases]: https://github.com/goreleaser/goreleaser/releases
[pro-releases]: https://github.com/goreleaser/goreleaser-pro/releases
[cosign]: https://github.com/sigstore/cosign

View File

@ -6,8 +6,8 @@
- Ask questions on [StackOverflow](https://stackoverflow.com/questions/tagged/goreleaser)
- For questions, support and general discussion, please use
[GitHub Discussions](https://github.com/goreleaser/goreleaser/discussions);
- [Contributing Guidelines](https://github.com/goreleaser/goreleaser/blob/master/CONTRIBUTING.md)
- [Contributing Guidelines](https://github.com/goreleaser/goreleaser/blob/main/CONTRIBUTING.md)
This project adheres to the Contributor Covenant
[code of conduct](https://github.com/goreleaser/goreleaser/blob/master/CODE_OF_CONDUCT.md).
[code of conduct](https://github.com/goreleaser/goreleaser/blob/main/CODE_OF_CONDUCT.md).
By participating, you are expected to uphold this code.

View File

@ -4,7 +4,7 @@ site_description: Deliver Go binaries as fast and easily as possible
copyright: Made with ❤️ by GoReleaser contributors.
repo_name: goreleaser/goreleaser
repo_url: https://github.com/goreleaser/goreleaser
edit_uri: edit/master/www/docs/
edit_uri: edit/main/www/docs/
theme:
name: material