Skip to content

Commit 6b3c8d3

Browse files
author
Chun-Hung Hsiao
authored
Merge pull request #13 from chhsia0/chhsia0-patch-11
Update main.go
2 parents 6620f0c + 3e76b54 commit 6b3c8d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dispatchfile.star

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ task("deploy",
3939
action(tasks=["deploy"], on=push(branches=["master"]))
4040
action(tasks=["test"], on=pull_request(targets=["master"]))
4141
action(tasks=["test"], on=pull_request(targets=["master"], chatops=["test"]))
42+
action(tasks=["deploy"], on=p.Condition(release=p.ReleaseCondition(tags=["0.0.*"])))

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func hello(w http.ResponseWriter, r *http.Request) {
6161
Hello, world!<br>
6262
Version: %s<br>
6363
Build time: %s<br>
64-
Want some beer?
64+
Welcome to Dispatch
6565
</p></body>
6666
</html>
6767
`, Version, Buildtime)

0 commit comments

Comments
 (0)