You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-26Lines changed: 27 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
# Tessl Publish Action
2
2
3
-
Detect changed Tessl tiles, derive semantic version bumps from Conventional Commits, review and lint each changed tile, then publish to the Tessl registry. It can also commit the published `tile.json` version bumps back to the repo.
3
+
Detect changed Tessl plugins, derive semantic version bumps from Conventional Commits, review and lint each changed plugin, then publish to the Tessl registry. It can also commit the published `.tessl-plugin/plugin.json` version bumps back to the repo.
4
4
5
5
The action is implemented in TypeScript with the official GitHub Actions toolkit packages such as `@actions/core`, `@actions/exec`, and `@actions/github`, and is bundled with Vite+ via `vp pack`.
6
6
7
7
## What It Does
8
8
9
-
- Publishes only changed tiles on `push`
10
-
- Publishes all tiles on `workflow_dispatch`
11
-
- Maps changed files back to the nearest owning `tile.json`
9
+
- Publishes only changed plugins on `push`
10
+
- Publishes all plugins on `workflow_dispatch`
11
+
- Maps changed files back to the nearest owning `.tessl-plugin/plugin.json`
12
12
- Derives the next bump per tile from commit messages:
13
13
-`BREAKING CHANGE:` or `type(scope)!:` -> `major`
14
14
-`feat:` -> `minor`
15
15
- everything else -> `patch`
16
-
- Probes `tessl tile publish --dry-run` and keeps incrementing patch versions until Tessl accepts a free version
17
-
- Commits published `tile.json` version bumps back to the current branch by default with `github-actions[bot]` and a skip-CI commit message, or with a caller-provided bot identity
16
+
- Probes `tessl plugin publish --dry-run --bump <type>` and publishes with `tessl plugin publish --bump <type>`
17
+
- Commits published `.tessl-plugin/plugin.json` version bumps back to the current branch by default with `github-actions[bot]` and a skip-CI commit message, or with a caller-provided bot identity
| `dry-run-max-attempts` | `50` | Max version attempts per tile before giving up |
72
-
| `publish-all` | `false` | Force publishing all tiles regardless of event diff |
73
-
| `commit-version-bumps` | `true` | Commit published `tile.json` version bumps back to the branch |
74
-
| `version-bump-commit-message` | `chore: sync published tile versions [skip ci]` | Commit message used for the bot-authored version bump sync commit |
75
-
| `git-author-name` | `GIT_AUTHOR_NAME` or `github-actions[bot]` | Git author name for committed version bumps |
76
-
| `git-author-email` | `GIT_AUTHOR_EMAIL` or GitHub Actions noreply | Git author email for committed version bumps |
77
-
| `git-committer-name` | `GIT_COMMITTER_NAME` or author name | Git committer name for committed version bumps |
78
-
| `git-committer-email` | `GIT_COMMITTER_EMAIL` or author email | Git committer email for committed version bumps |
| `review-threshold` | `90` | Threshold passed to `tessl review run --threshold` |
72
+
| `dry-run-max-attempts` | `50` | Max version attempts per plugin before giving up |
73
+
| `publish-all` | `false` | Force publishing all plugins regardless of event diff |
74
+
| `commit-version-bumps` | `true` | Commit published `.tessl-plugin/plugin.json` version bumps back to the branch |
75
+
| `version-bump-commit-message` | `chore: sync published plugin versions [skip ci]` | Commit message used for the bot-authored version bump sync commit |
76
+
| `git-author-name` | `GIT_AUTHOR_NAME` or `github-actions[bot]` | Git author name for committed version bumps |
77
+
| `git-author-email` | `GIT_AUTHOR_EMAIL` or GitHub Actions noreply | Git author email for committed version bumps |
78
+
| `git-committer-name` | `GIT_COMMITTER_NAME` or author name | Git committer name for committed version bumps |
79
+
| `git-committer-email` | `GIT_COMMITTER_EMAIL` or author email | Git committer email for committed version bumps |
0 commit comments