Skip to content

Commit

Permalink
Make release tag unique
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Oct 30, 2021
1 parent fe3e7ca commit 58e536f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fun main() {
if (publish) {
val github = GitHubBuilder().withOAuthToken(System.getenv("GITHUB_TOKEN")).build()
val repository = github.getRepository(System.getenv("GITHUB_REPOSITORY"))
githubRelease = repository.createRelease("release_" + System.getenv("GITHUB_JOB"))
githubRelease = repository.createRelease("release_" + System.getenv("GITHUB_JOB") + "_" + System.currentTimeMillis())
.name("Architectury Templates")
.body(Paths.get(System.getenv("BODY_PATH")).toFile().readText())
.create()
Expand Down

0 comments on commit 58e536f

Please sign in to comment.