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
-`project-name`: Value exposed to templates as `{project_name}`.
125
+
-`publish-mode`: One of `draft`, `now`, `next-free-slot`, or `scheduled`. Default: `draft`.
126
+
-`publish-at`: Required when `publish-mode = "scheduled"`.
127
+
-`tags`: Optional Typefully tags to attach to the draft.
128
+
-`max-length`: Maximum post length before truncation. Default: `280`.
129
+
-`truncation-suffix`: Suffix appended after truncation. Default: `...`.
130
+
-`dry-run`: Print the request body without calling the Typefully API. Default: `false`.
131
+
132
+
Template variables:
133
+
134
+
-`{project_name}`
135
+
-`{version}`
136
+
-`{release_type}`
137
+
-`{release_notes}`
138
+
-`{previous_version}`
139
+
140
+
Release-specific override from `RELEASE.md` frontmatter:
141
+
142
+
```md
143
+
---
144
+
release type: patch
145
+
social_message: |
146
+
Strawberry {version} is out now.
147
+
148
+
Highlights:
149
+
{release_notes}
150
+
---
151
+
152
+
- Fixed X
153
+
- Added Y
154
+
```
155
+
156
+
When `social_message` is present in AutoPub frontmatter, the plugin uses it as the message template for all configured platforms and still expands the same template variables listed above.
47
157
48
158
## Development
49
159
@@ -57,7 +167,3 @@ When changing dependencies, update the lockfile:
57
167
```bash
58
168
uv lock
59
169
```
60
-
61
-
## Next plugin
62
-
63
-
This repository is structured to host multiple plugins under `src/strawberry_autopub_plugins/`.
0 commit comments