From d9165646c6b4bc7a8754914e187b6975994f9b4c Mon Sep 17 00:00:00 2001 From: Pete Davison Date: Sat, 15 Apr 2023 20:39:35 +0100 Subject: [PATCH] chore: update refs from `master` to `main` (#1048) --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/upload-source-documents.yml | 2 +- .github/workflows/website-deploy.yml | 2 +- .github/workflows/website-test.yml | 2 +- CHANGELOG.md | 4 ++-- docs/docs/api_reference.md | 4 ++-- docs/docs/changelog.md | 8 ++++---- docs/docs/community.md | 2 +- docs/docs/contributing.md | 2 +- docs/docs/installation.md | 6 +++--- docs/docs/releasing.md | 6 +++--- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ce753812..5eb60599 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ on: tags: - v* branches: - - master + - main jobs: lint: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6dc7a520..9eea5fa7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: tags: - v* branches: - - master + - main jobs: test: diff --git a/.github/workflows/upload-source-documents.yml b/.github/workflows/upload-source-documents.yml index 94148e7b..4d6f41d6 100644 --- a/.github/workflows/upload-source-documents.yml +++ b/.github/workflows/upload-source-documents.yml @@ -3,7 +3,7 @@ name: Upload Source Documents on: push: branches: - - master + - main workflow_dispatch: jobs: diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index 8165a598..a205362b 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -3,7 +3,7 @@ name: Website Deploy on: push: branches: - - master + - main jobs: website-deploy: diff --git a/.github/workflows/website-test.yml b/.github/workflows/website-test.yml index 1243e8bb..20aa565b 100644 --- a/.github/workflows/website-test.yml +++ b/.github/workflows/website-test.yml @@ -3,7 +3,7 @@ name: Website Test on: pull_request: branches: - - master + - main jobs: website-test: diff --git a/CHANGELOG.md b/CHANGELOG.md index e5180811..eb70d34c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -509,7 +509,7 @@ it a go and let us know what you think via a - Task now have a dedicated documentation site: https://taskfile.org - Thanks to [Docsify](https://docsify.js.org/) for making this pretty easy. To check the source code, just take a look at the - [docs](https://github.com/go-task/task/tree/master/docs) directory of this + [docs](https://github.com/go-task/task/tree/main/docs) directory of this repository. Contributions to the documentation is really appreciated. ## v2.1.1 - 2018-09-17 @@ -546,7 +546,7 @@ it a go and let us know what you think via a Version 2.0.0 is here, with a new Taskfile format. Please, make sure to read the -[Taskfile versions](https://github.com/go-task/task/blob/master/TASKFILE_VERSIONS.md) +[Taskfile versions](https://github.com/go-task/task/blob/main/TASKFILE_VERSIONS.md) document, since it describes in depth what changed for this version. - New Taskfile version 2 (#77) diff --git a/docs/docs/api_reference.md b/docs/docs/api_reference.md index 7ccea11a..38c97269 100644 --- a/docs/docs/api_reference.md +++ b/docs/docs/api_reference.md @@ -194,7 +194,7 @@ vars: | `prefix` | `string` | | Defines a string to prefix the output of tasks running in parallel. Only used when the output mode is `prefixed`. | | `ignore_error` | `bool` | `false` | Continue execution if errors happen while executing commands. | | `run` | `string` | The one declared globally in the Taskfile or `always` | Specifies whether the task should run again or not if called more than once. Available options: `always`, `once` and `when_changed`. | -| `platforms` | `[]string` | All platforms | Specifies which platforms the task should be run on. [Valid GOOS and GOARCH values allowed](https://github.com/golang/go/blob/master/src/go/build/syslist.go). Task will be skipped otherwise. | +| `platforms` | `[]string` | All platforms | Specifies which platforms the task should be run on. [Valid GOOS and GOARCH values allowed](https://github.com/golang/go/blob/main/src/go/build/syslist.go). Task will be skipped otherwise. | | `set` | `[]string` | | Specify options for the [`set` builtin](https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html). | | `shopt` | `[]string` | | Specify option for the [`shopt` builtin](https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html). | @@ -227,7 +227,7 @@ tasks: | `vars` | [`map[string]Variable`](#variable) | | Optional additional variables to be passed to the referenced task. Only relevant when setting `task` instead of `cmd`. | | `ignore_error` | `bool` | `false` | Continue execution if errors happen while executing the command. | | `defer` | `string` | | Alternative to `cmd`, but schedules the command to be executed at the end of this task instead of immediately. This cannot be used together with `cmd`. | -| `platforms` | `[]string` | All platforms | Specifies which platforms the command should be run on. [Valid GOOS and GOARCH values allowed](https://github.com/golang/go/blob/master/src/go/build/syslist.go). Command will be skipped otherwise. | +| `platforms` | `[]string` | All platforms | Specifies which platforms the command should be run on. [Valid GOOS and GOARCH values allowed](https://github.com/golang/go/blob/main/src/go/build/syslist.go). Command will be skipped otherwise. | | `set` | `[]string` | | Specify options for the [`set` builtin](https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html). | | `shopt` | `[]string` | | Specify option for the [`shopt` builtin](https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html). | diff --git a/docs/docs/changelog.md b/docs/docs/changelog.md index 13c7f75d..5015155b 100644 --- a/docs/docs/changelog.md +++ b/docs/docs/changelog.md @@ -495,7 +495,7 @@ Task now has an [official extension for Visual Studio Code](https://marketplace. - Task now have a dedicated documentation site: https://taskfile.org - Thanks to [Docsify](https://docsify.js.org/) for making this pretty easy. To check the source code, just take a look at the - [docs](https://github.com/go-task/task/tree/master/docs) directory of this + [docs](https://github.com/go-task/task/tree/main/docs) directory of this repository. Contributions to the documentation is really appreciated. ## v2.1.1 - 2018-09-17 @@ -531,9 +531,9 @@ Task now has an [official extension for Visual Studio Code](https://marketplace. Version 2.0.0 is here, with a new Taskfile format. -Please, make sure to read the [Taskfile -versions](https://github.com/go-task/task/blob/master/TASKFILE_VERSIONS.md) -document, since it describes in depth what changed for this version. +-Please, make sure to read the [Taskfile +-versions](https://github.com/go-task/task/blob/main/TASKFILE_VERSIONS.md) +-document, since it describes in depth what changed for this version. - New Taskfile version 2 ([#77](https://github.com/go-task/task/issues/77)) - Possibility to have global variables in the `Taskfile.yml` instead of diff --git a/docs/docs/community.md b/docs/docs/community.md index 3402ea33..dec08294 100644 --- a/docs/docs/community.md +++ b/docs/docs/community.md @@ -24,7 +24,7 @@ Initial work on the schema was made by [@KROSF](https://github.com/KROSF) on schema is currently available at https://taskfile.dev/schema.json and linked at https://json.schemastore.org/taskfile.json so it is be used automatically many code editors, like VSCode. Contributions can be done by editing -[this file](https://github.com/go-task/task/blob/master/docs/static/schema.json). +[this file](https://github.com/go-task/task/blob/main/docs/static/schema.json). ### Visual Studio Code extension diff --git a/docs/docs/contributing.md b/docs/docs/contributing.md index 3abee2bc..0b0f3af8 100644 --- a/docs/docs/contributing.md +++ b/docs/docs/contributing.md @@ -122,7 +122,7 @@ If you have questions, feel free to ask them in the `#help` forum channel on our [nodejs]: https://nodejs.org/en/ [yarn]: https://yarnpkg.com/ [docusaurus]: https://docusaurus.io -[json-schema]: https://github.com/go-task/task/blob/master/docs/static/schema.json +[json-schema]: https://github.com/go-task/task/blob/main/docs/static/schema.json [open-issues]: https://github.com/go-task/task/issues [good-first-issue]: https://github.com/go-task/task/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 [discord-server]: https://discord.gg/6TY36E39UK diff --git a/docs/docs/installation.md b/docs/docs/installation.md index 03748179..371b277e 100644 --- a/docs/docs/installation.md +++ b/docs/docs/installation.md @@ -188,7 +188,7 @@ This installation method is community owned. Ensure that you have a supported version of [Go][go] properly installed and setup. You can find the minimum required version of Go in the -[go.mod](https://github.com/go-task/task/blob/master/go.mod#L3) file. +[go.mod](https://github.com/go-task/task/blob/main/go.mod#L3) file. You can then install the latest release globally by running: @@ -214,7 +214,7 @@ released binary. Download the autocompletion file corresponding to your shell. -[All completions are available on the Task repository](https://github.com/go-task/task/tree/master/completion). +[All completions are available on the Task repository](https://github.com/go-task/task/tree/main/completion). ### Bash @@ -276,7 +276,7 @@ Invoke-Expression -Command path/to/task.ps1 [go]: https://golang.org/ [snapcraft]: https://snapcraft.io/task [homebrew]: https://brew.sh/ -[installscript]: https://github.com/go-task/task/blob/master/install-task.sh +[installscript]: https://github.com/go-task/task/blob/main/install-task.sh [releases]: https://github.com/go-task/task/releases [godownloader]: https://github.com/goreleaser/godownloader [choco]: https://chocolatey.org/ diff --git a/docs/docs/releasing.md b/docs/docs/releasing.md index fb694ad1..c8ed72ef 100644 --- a/docs/docs/releasing.md +++ b/docs/docs/releasing.md @@ -10,8 +10,8 @@ You can test the release process locally by calling the `test-release` task of the Taskfile. [GitHub Actions](https://github.com/go-task/task/actions) should release -artifacts automatically when a new Git tag is pushed to master (raw executables -and DEB and RPM packages). +artifacts automatically when a new Git tag is pushed to `main` branch (raw +executables and DEB and RPM packages). Since v3.15.0, raw executables can also be reproduced and verified locally by checking out a specific tag and calling `goreleaser build`, using the Go version @@ -56,7 +56,7 @@ If you think its Task version is outdated, open an issue to let us know. [goreleaser]: https://goreleaser.com/ [homebrewtap]: https://github.com/go-task/homebrew-tap [gotaskrb]: https://github.com/go-task/homebrew-tap/blob/master/Formula/go-task.rb -[packagejson]: https://github.com/go-task/task/blob/master/package.json#L3 +[packagejson]: https://github.com/go-task/task/blob/main/package.json#L3 [snappackage]: https://github.com/go-task/snap [snapcraftyaml]: https://github.com/go-task/snap/blob/master/snap/snapcraft.yaml#L2 [snapcraftdashboard]: https://snapcraft.io/task/releases