Skip to content

Commit 44e4351

Browse files
committed
0.7.5
1 parent 936d89e commit 44e4351

File tree

3 files changed

+50
-41
lines changed

3 files changed

+50
-41
lines changed

.github/workflows/actions.yml renamed to .github/workflows/publish-artifacts.yml

Lines changed: 4 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,14 @@
1-
name: ci
1+
name: Publish Artifacts
22

33
on:
44
push:
5-
branches:
6-
- main
75
tags:
8-
- '*'
9-
pull_request:
10-
branches:
11-
- main
6+
- '**'
7+
workflow_dispatch:
128

139
jobs:
14-
test:
15-
runs-on: ubuntu-latest
16-
strategy:
17-
fail-fast: false
18-
matrix:
19-
java: ['8', '17']
20-
steps:
21-
- uses: actions/checkout@v4
22-
with:
23-
fetch-depth: 0
24-
- uses: actions/setup-java@v4
25-
with:
26-
distribution: 'temurin'
27-
java-version: ${{ matrix.java }}
28-
- name: Run tests
29-
run: ./mill -i -k __.publishArtifacts + __.test
30-
check-binary-compatibility:
31-
runs-on: ubuntu-latest
32-
steps:
33-
- uses: actions/checkout@v4
34-
with:
35-
fetch-depth: 0
36-
- uses: actions/setup-java@v4
37-
with:
38-
distribution: 'temurin'
39-
java-version: 8
40-
- name: Check Binary Compatibility
41-
run: ./mill -i -k __.mimaReportBinaryIssues
42-
4310
publish-sonatype:
44-
if: github.repository == 'com-lihaoyi/mainargs' && startsWith(github.ref, 'refs/tags/')
45-
needs: test
11+
if: github.repository == 'com-lihaoyi/mainargs'
4612
runs-on: ubuntu-latest
4713
env:
4814
SONATYPE_PGP_PRIVATE_KEY: ${{ secrets.SONATYPE_PGP_PRIVATE_KEY }}

.github/workflows/run-tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
java: ['8', '17']
17+
steps:
18+
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- uses: actions/setup-java@v4
22+
with:
23+
distribution: 'temurin'
24+
java-version: ${{ matrix.java }}
25+
- name: Run tests
26+
run: ./mill -i -k __.publishArtifacts + __.test
27+
check-binary-compatibility:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
33+
- uses: actions/setup-java@v4
34+
with:
35+
distribution: 'temurin'
36+
java-version: 8
37+
- name: Check Binary Compatibility
38+
run: ./mill -i -k __.mimaReportBinaryIssues

readme.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# mainargs 0.7.4
1+
# mainargs 0.7.5
22

33
MainArgs is a small, dependency-free library for command line argument parsing
44
in Scala.
@@ -38,7 +38,7 @@ in its scripts, as well as for command-line parsing for the
3838
# Usage
3939

4040
```scala
41-
ivy"com.lihaoyi::mainargs:0.7.4"
41+
ivy"com.lihaoyi::mainargs:0.7.5"
4242
```
4343

4444
## Parsing Main Method Parameters
@@ -625,9 +625,14 @@ command-line friendly tool.
625625

626626
# Changelog
627627

628+
## 0.7.5
629+
630+
- Fix reporting of incomplete short args [#162](https://github.com/com-lihaoyi/mainargs/pull/162)
631+
- Add BigDecimal TokensReader [#152](https://github.com/com-lihaoyi/mainargs/pull/152)
632+
628633
## 0.7.4
629634

630-
- Fix issue with binary infinite recursion in binary compatibility forwarders [156](https://github.com/com-lihaoyi/mainargs/pull/156)
635+
- Fix issue with binary infinite recursion in binary compatibility forwarders [#156](https://github.com/com-lihaoyi/mainargs/pull/156)
631636

632637
## 0.7.3
633638

0 commit comments

Comments
 (0)