Skip to content

Commit 889bdd3

Browse files
authored
Remove tag references from docs #87
1 parent d620d39 commit 889bdd3

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
| `repo-root` | **Optional.** Root directory of the repository. |
5555
| `team` | **Optional.** Team that owns the upload. |
5656
| `run` | **Optional.** Command to run before uploading test results. |
57-
| `tags` | **Optional.** Comma separated list of custom `tag=value` pairs. |
5857
| `cli-version` | **Optional.** Version of the uploader to use. |
5958

6059
## Questions

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919
description: The command to run before uploading test results.
2020
required: false
2121
tags:
22-
description: Comma separated list of custom tag=value pairs.
22+
description: Comma separated list of custom tag=value pairs. This is deprecated and will be removed in a future release.
2323
required: false
2424
repo-root:
2525
description: The root directory of the repository.

script.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ fi
6666

6767
REPO_HEAD_BRANCH="${REPO_HEAD_BRANCH-}"
6868
REPO_ROOT="${REPO_ROOT-}"
69-
TAGS="${TAGS-}"
7069
TOKEN=${INPUT_TOKEN:-${TRUNK_API_TOKEN}} # Defaults to TRUNK_API_TOKEN env var.
7170
TEAM="${TEAM-}"
7271
JUNIT_PATHS="${JUNIT_PATHS-}"
@@ -99,7 +98,6 @@ if [[ $# -eq 0 ]]; then
9998
${REPO_HEAD_BRANCH:+--repo-head-branch "${REPO_HEAD_BRANCH}"} \
10099
--repo-root "${REPO_ROOT}" \
101100
--team "${TEAM}" \
102-
--tags "${TAGS}" \
103101
${ALLOW_MISSING_JUNIT_FILES_ARG} \
104102
${HIDE_BANNER} \
105103
${QUARANTINE_ARG}
@@ -113,7 +111,6 @@ else
113111
${REPO_HEAD_BRANCH:+--repo-head-branch "${REPO_HEAD_BRANCH}"} \
114112
--repo-root "${REPO_ROOT}" \
115113
--team "${TEAM}" \
116-
--tags "${TAGS}" \
117114
${ALLOW_MISSING_JUNIT_FILES_ARG} \
118115
${HIDE_BANNER} \
119116
${QUARANTINE_ARG} "$@"

tests/arguments.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ test("Forwards inputs", async () => {
3131
INPUT_TOKEN: "token",
3232
REPO_HEAD_BRANCH: "",
3333
REPO_ROOT: "",
34-
TAGS: "",
3534
CLI_VERSION: "0.0.0",
3635
TEAM: "",
3736
QUARANTINE: "",
@@ -58,7 +57,7 @@ test("Forwards inputs", async () => {
5857
}
5958
expect({ stdout, stderr, exit_code }).toMatchObject({
6059
stdout:
61-
"upload --junit-paths junit.xml --org-url-slug org --token token --repo-root --team --tags",
60+
"upload --junit-paths junit.xml --org-url-slug org --token token --repo-root --team",
6261
stderr: `+ [[ 0.0.0 == \\l\\a\\t\\e\\s\\t ]]
6362
+ [[ -f ./trunk-analytics-cli ]]
6463
+ chmod +x ./trunk-analytics-cli

0 commit comments

Comments
 (0)