From 4be9e5f28f461a8092cb4a151b650250370298c5 Mon Sep 17 00:00:00 2001 From: Marius Date: Wed, 18 Jan 2023 13:04:11 +0100 Subject: [PATCH] chore: Rename master to main --- .github/workflows/release.yaml | 2 +- README.md | 2 +- docs/faq.md | 2 +- scripts/generate-docker-library.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 36a6f80..7769a23 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,7 @@ name: release on: push: branches: - - master + - main tags: - "v*" diff --git a/README.md b/README.md index 8c30436..ccff73a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # tusd -Tus logo +Tus logo > **tus** is a protocol based on HTTP for *resumable file uploads*. Resumable > means that an upload can be interrupted at any moment and can be resumed without diff --git a/docs/faq.md b/docs/faq.md index 110ec8d..aa9891b 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -36,7 +36,7 @@ tusd allows any user to retrieve a previously uploaded file by issuing a HTTP GE ### How can I keep the original filename for the uploads? -tusd will generate a unique ID for every upload, e.g. `1881febb4343e9b806cad2e676989c0d`, which is also used as the filename for storing the upload. If you want to keep the original filename, e.g. `my_image.png`, you will have to rename the uploaded file manually after the upload is completed. One can use the [`post-finish` hook](https://github.com/tus/tusd/blob/master/docs/hooks.md#post-finish) to be notified once the upload is completed. The client must also be configured to add the filename to the upload's metadata, which can be [accessed inside the hooks](https://github.com/tus/tusd/blob/master/docs/hooks.md#the-hooks-environment) and used for the renaming operation. +tusd will generate a unique ID for every upload, e.g. `1881febb4343e9b806cad2e676989c0d`, which is also used as the filename for storing the upload. If you want to keep the original filename, e.g. `my_image.png`, you will have to rename the uploaded file manually after the upload is completed. One can use the [`post-finish` hook](https://github.com/tus/tusd/blob/main/docs/hooks.md#post-finish) to be notified once the upload is completed. The client must also be configured to add the filename to the upload's metadata, which can be [accessed inside the hooks](https://github.com/tus/tusd/blob/main/docs/hooks.md#the-hooks-environment) and used for the renaming operation. ### Does tusd support Cross-Origin Resource Sharing (CORS)? diff --git a/scripts/generate-docker-library.sh b/scripts/generate-docker-library.sh index 58a77cd..565992e 100755 --- a/scripts/generate-docker-library.sh +++ b/scripts/generate-docker-library.sh @@ -7,7 +7,7 @@ # cat <<-EOH -# This file is generated via https://github.com/tus/tusd/blob/master/generate-docker-library.sh +# This file is generated via https://github.com/tus/tusd/blob/main/generate-docker-library.sh Maintainers: tus.io (@tus), Thomas A. Hirsch (@thirsch) GitRepo: https://github.com/tus/tusd.git EOH