Skip to content

Commit

Permalink
Mention hash of jar in release notes and mention reproducibility in r…
Browse files Browse the repository at this point in the history
…eadme
  • Loading branch information
martinpaljak committed Mar 31, 2024
1 parent 53c41e6 commit 0daaaea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/robot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
- name: Run ANT tests
if: matrix.java != 21
run: ant test dist
- name: Get SHA-256 of ant-javacard.jar
run: echo "JARSUM=$(shasum -a 256 ant-javacard.jar | cut -d' ' -f 1)" >> "$GITHUB_ENV"
- name: Deploy package or snapshot
if: github.event_name != 'pull_request' && matrix.java == '11'
run: ./mvnw -B -U deploy
Expand All @@ -52,5 +54,5 @@ jobs:
files: |
ant-javacard.jar
fail_on_unmatched_files: true
body: Release ${{ github.ref_name }}
body: "Release ${{ github.ref_name }}, with SHA-256: `${{ env.JARSUM }}` (built with JDK-11)"
prerelease: true # manually promoted
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Have a consistent and concise build declaration for JavaCard applets, no matter

## Features
* **[Do What I Mean](http://en.wikipedia.org/wiki/DWIM)**. You will [love it](#happy-users)!
* **No dependencies**, no extra or unrelated downloads. Just **a ~50KB jar file**.
* **No dependencies**, no extra or unrelated downloads. Just **a ~50KB reproducible jar file**.
* Supports **all available JavaCard SDK versions**: 2.1.2, 2.2.1, 2.2.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0 and 3.2.0
* Get one from [oracle.com](https://www.oracle.com/java/technologies/javacard-sdk-downloads.html) or use the [handy Github repository](https://github.com/martinpaljak/oracle_javacard_sdks)
* **Works on all platforms** with LTS Java 1.8+: Windows, OSX, Linux.
Expand Down
2 changes: 2 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<!-- It is possible to execute ant-javacard.jar... -->
<manifest>
<attribute name="Main-Class" value="pro.javacard.ant.DummyMain"/>
<!-- Set dummy values for moving values, so that same jar could be built with slight variations in JDK/ant version-->
<attribute name="Created-By" value="ant-javacard build"/>
<attribute name="Ant-Version" value="unspecified"/>
</manifest>
<exclude name="/META-INF/maven/**"/>
</jar>
Expand Down

0 comments on commit 0daaaea

Please sign in to comment.