Skip to content

Commit 922bb6c

Browse files
fix(propose): add action to send message
1 parent 2450c43 commit 922bb6c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tools/propose-version.mjs

+6-1
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,16 @@ const ao = connect({
8484

8585
const proposalEvalStr = `
8686
Send({
87+
Action = "Add-Version",
8788
Target = "${registryId}",
8889
Version = "${version}",
8990
["Module-Id"] = "${moduleId}",
9091
${luaSourceId ? `["Lua-Source-Id"] = "${luaSourceId}",` : ''}
91-
${notes ? `Notes = [[${notes}]]` : ''}
92+
${
93+
notes // the [[]] syntax allows for multiline lua strings
94+
? `Notes = [[${notes}]]`
95+
: ''
96+
}
9297
})
9398
`;
9499

0 commit comments

Comments
 (0)