Skip to content

Commit

Permalink
Merge pull request #30 from luizpcarvalho/dev
Browse files Browse the repository at this point in the history
Dev -> Main
  • Loading branch information
luizpcarvalho authored Jun 8, 2022
2 parents 31bd54e + 48827f2 commit d137a30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## POC to implement an automated tag/release cycle, based on pull request labels
## POC: tag/release cycle and changelog generation

POC to implement an automated tag/release cycle, based on PR labels.
POC to test an automated tag/release cycle based on conventional commits, and generate a changelog.

Uses:

Expand Down
5 changes: 2 additions & 3 deletions src/main/kotlin/zup/com/hello/HelloController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ import java.time.ZoneId
class HelloController {

@Get("/world")
fun helloWorld(@Header("name") name: String, @Header("lastName") lastName: String): MutableHttpResponse<String> {
val dayOfWeek = LocalDate.now(ZoneId.of("America/Sao_Paulo")).dayOfWeek.name.lowercase()
return HttpResponse.ok("Hello $lastName, $name!!! Today is $dayOfWeek.")
fun helloWorld(): MutableHttpResponse<String> {
return HttpResponse.ok("Hello world.")
}

}

0 comments on commit d137a30

Please sign in to comment.