Skip to content

Commit db26bc5

Browse files
committed
generate scaladoc in its own subfolder
1 parent 3658f0a commit db26bc5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
type: choice
88
description: 'How to bump a version?'
99
required: true
10-
default: 'minor'
10+
default: 'patch'
1111
options:
1212
- major
1313
- minor

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Maven Central Version](https://img.shields.io/maven-central/v/org.encalmo/scala-aws-lambda-utils_3?style=for-the-badge) <a href="https://encalmo.github.io/scala-aws-lambda-utils/org/encalmo/lambda.html" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/docs-scaladoc-red?style=for-the-badge"></a>
1+
![Maven Central Version](https://img.shields.io/maven-central/v/org.encalmo/scala-aws-lambda-utils_3?style=for-the-badge) <a href="https://encalmo.github.io/scala-aws-lambda-utils/scaladoc/org/encalmo/lambda.html" target="_blank"><img alt="Scaladoc" src="https://img.shields.io/badge/docs-scaladoc-red?style=for-the-badge"></a>
22

33

44

scripts/createReleaseBundle.sc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ call(s"mv bundle.zip $bundleFilePath", cwd = tempDir).foreach(println)
101101
println(s"${GREEN}Bundle archive ready at $bundleFilePath${RESET}")
102102

103103
println(s"${GREEN}Uzipping scaladoc ...${RESET}")
104-
val siteFolderPath = os.pwd / "_site"
104+
val siteFolderPath = os.pwd / "_site" / "scaladoc"
105105
val javadocFilePath = publishedFolder / "docs" / s"${artefactName}-javadoc.jar"
106106
os.makeDir.all(siteFolderPath)
107107
call(s"unzip $javadocFilePath -d $siteFolderPath")

0 commit comments

Comments
 (0)