Skip to content

Commit 4cda09e

Browse files
Add github action to create release
1 parent 0bf4ca9 commit 4cda09e

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

.github/workflows/gh-release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Create a Github release
2+
3+
on:
4+
push:
5+
# Pattern matched against refs/tags
6+
tags:
7+
- "*" # Push events to every tag not containing /
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
# https://github.com/actions/checkout
17+
- name: Checkout the repository
18+
uses: actions/checkout@v4
19+
# https://github.com/actions/setup-java
20+
- uses: actions/setup-java@v4
21+
with:
22+
java-version: "17"
23+
distribution: "temurin"
24+
cache: maven
25+
- name: Package using Maven
26+
run: mvn package
27+
# https://github.com/softprops/action-gh-release
28+
- name: Release
29+
uses: softprops/action-gh-release@v2
30+
with:
31+
# The action uses the javascript glob library
32+
files: |
33+
jbox2d-library/target/jbox2d-library-*.jar
34+
jbox2d-testbed/target/jbox2d-testbed-*-jar-with-dependencies.jar

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [v3.1.0](https://github.com/engine-pi/jbox2d/releases/tag/v3.1.0) - 2024-08-05
9+
10+
<small>[Compare with v3.0.0](https://github.com/engine-pi/jbox2d/compare/v3.0.0...v3.1.0)</small>
11+
12+
### Added
13+
14+
35ffd6f676c55b0126ac01a3b0351a161abbf025) by Josef Friedrich).
15+
- Add animated gifs ([daf7ff2](https://github.com/engine-pi/jbox2d/commit/daf7ff2ee13a101109616875a3f5b1d6040f8536) by Josef Friedrich).
16+
- Add some permalinks ([55c5fc1](https://github.com/engine-pi/jbox2d/commit/55c5fc17c2fa352e494dae26e5c3505d643948f2) by Josef Friedrich).
17+
18+
### Removed
19+
20+
- Remove some hungarian m_ prefixes ([1506f20](https://github.com/engine-pi/jbox2d/commit/1506f200d70463628a3c0634d395a7fee1783728) by Josef Friedrich).
21+
822
## [v3.0.0](https://github.com/engine-pi/jbox2d/releases/tag/v3.0.0) - 2024-08-02
923

1024
<small>[Compare with v2.3.1](https://github.com/engine-pi/jbox2d/compare/v2.3.1...v3.0.0)</small>

0 commit comments

Comments
 (0)