Skip to content

Commit 1a65242

Browse files
committed
🔖 Version 4.23.1
1 parent b39a335 commit 1a65242

File tree

3 files changed

+52
-1
lines changed

3 files changed

+52
-1
lines changed

.github/workflows/tag-version.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Tag Version
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
tag-version:
10+
runs-on: ubuntu-latest
11+
if: "contains(github.event.head_commit.message, ':bookmark:')"
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: '0'
17+
18+
- name: Tag version
19+
run: |
20+
msg_start=':bookmark: Version '
21+
version_format='[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}'
22+
version=$(git log -1 --skip=0 --pretty=%s | grep -oP "(?<=${msg_start})${version_format}")
23+
24+
if [ -z "${version}" ]; then
25+
echo 'Version not found, aborting.'
26+
exit 1
27+
fi
28+
29+
echo "Found version: ${version}";
30+
tag="v${version}";
31+
32+
echo "Would tag: ${tag}";
33+
existing_tag=$(git tag -l "${tag}");
34+
35+
if [ "${existing_tag}" ]; then
36+
echo "Tag '${existing_tag}' already exists, aborting.";
37+
exit 1;
38+
fi
39+
40+
git config user.name "Mindee";
41+
git config user.email "[email protected]"
42+
43+
git tag -a "${tag}" -m"Version ${version}";
44+
git push origin "${tag}"
45+
46+
echo "Tagged and pushed: ${tag}"

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Mindee Java API Library Changelog
22

3+
## v4.23.1 - 2024-12-20
4+
### Fixes
5+
* :bug: fix for server not properly formatting floats
6+
7+
38
## v4.23.0 - 2024-12-12
49
### Changes
510
* :sparkles: allow local downloading of remote sources

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.mindee.sdk</groupId>
77
<artifactId>mindee-api-java</artifactId>
8-
<version>4.23.0</version>
8+
<version>4.23.1</version>
99
<modelVersion>4.0.0</modelVersion>
1010
<name>Mindee Java Helper Library</name>
1111
<description>Java Library to call Mindee's Off-The-Shelf and Custom APIs</description>

0 commit comments

Comments
 (0)