Skip to content

Commit

Permalink
Merge pull request #60 from xdev-developer/release-notes
Browse files Browse the repository at this point in the history
Release notes
  • Loading branch information
xdev-developer authored Jan 13, 2024
2 parents c0e189e + 391d3bb commit f87a6e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ jobs:
with:
artifacts: "app/target/universal/gen4s-app-*.zip"
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
4 changes: 2 additions & 2 deletions app/src/main/scala/io/gen4s/cli/CliArgsParser.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class CliArgsParser extends scopt.OptionParser[Args]("gen4s") {
.text("Samples to generate, default 1")
.valueName("<number>")
.validate(x =>
if (x > 0) success
else failure("Option --samples must be > 0")
if (x > 0 && x <= 1000_000) success
else failure("Option --samples must be > 0 < 1M")
)
)

Expand Down

0 comments on commit f87a6e0

Please sign in to comment.