Skip to content

Commit

Permalink
message structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopocarlini committed Mar 20, 2021
1 parent 7278c13 commit 69f3af6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ There are several options to customize how the tag is created.

Provide a custom changelog format when not using `tag_message`.
This can interpolate strings, supported strings are `{{message}}`, `{{messageHeadline}}`, `{{author}}` and `{{sha}}`.
Defaults to `**1) {{message}}** {{author}}\n(SHA: {{sha}})\n`.
Defaults to `**{{message}}** {{sha}})\n`.

```yaml
- uses: Klemensas/action-autotag@stable
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fluttertag",
"version": "2.0.2",
"version": "2.0.3",
"description": "Automatically create a tag whenever the version changes in pubspec.yaml",
"main": "src/main.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function setTagMessage(tagMsg, tags, github, owner, repo, changelogStructu
base: latestTag.name,
head: 'master',
});
const structure = changelogStructure || `**1) {{message}}** {{author}}\n(SHA: {{sha}})\n`;
const structure = changelogStructure || `**{{message}}** {{sha}})\n`;

tagMsg = changelog.data.commits
.map(commit =>
Expand Down

0 comments on commit 69f3af6

Please sign in to comment.