Skip to content

Commit 964a060

Browse files
committed
add release task
1 parent 978feba commit 964a060

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Taskfile.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ vars:
1111
sh: find ./example -maxdepth 1 -mindepth 1 -type d
1212

1313
tasks:
14+
release:
15+
desc: build and publish release
16+
cmds:
17+
- test {{.CLI_ARGS}}
18+
- grep -F '"{{.CLI_ARGS}}"' moon.mod.json
19+
- moon publish
20+
- git tag {{.CLI_ARGS}}
21+
- git push
22+
- git push --tags
23+
- gh release create --generate-notes {{.CLI_ARGS}}
24+
1425
format:
1526
cmds:
1627
- for: { var: MOON_MODULES }

moon.mod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "firefly/firefly",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"readme": "README.md",
55
"repository": "https://github.com/firefly-zero/firefly-moon",
66
"license": "MIT",
77
"keywords": ["game", "firefly-zero"],
8-
"description": "A port of the SDK for Firefly Zero, a modern handheld game console using WebAssembly",
8+
"description": "MoonBit SDK for making Firefly Zero games",
99
"source": "src",
1010
"preferred-target": "wasm"
1111
}

0 commit comments

Comments
 (0)