Skip to content

Commit 1b77a88

Browse files
committed
release: release 1.4.1 (#131)
* release: release 1.4.1 - Bump httpclient from 4.5.14 to httpclient5 5.5.1 - Bump various maven plugins - Force manual run for release workflow
1 parent bf4aba7 commit 1b77a88

File tree

6 files changed

+54
-10
lines changed

6 files changed

+54
-10
lines changed

.github/workflows/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This directory contains the GitHub Actions workflows for the project.
1010
- **Runs on**: Ubuntu latest
1111

1212
### 2. release.yml
13-
- **Trigger**: Creation of tags matching semantic versioning pattern (e.g., `1.4.0`, `2.0.1`)
13+
- **Trigger**: Creation of tags matching semantic versioning pattern (e.g., `1.4.1`, `2.0.1`)
1414
- **Purpose**: Automatically release to Maven Central and create GitHub Release
1515
- **Runs on**: Ubuntu latest
1616
- **Requires secrets**:
@@ -44,7 +44,7 @@ To enable automatic releases, you need to configure the following secrets in you
4444
## Release Process
4545

4646
### Automatic Release
47-
1. Create and push a new tag with semantic versioning format (e.g., `git tag 1.4.0 && git push origin 1.4.0`)
47+
1. Create and push a new tag with semantic versioning format (e.g., `git tag 1.4.1 && git push origin 1.4.1`)
4848
2. The release workflow will automatically:
4949
- Build and test the project
5050
- Sign the artifacts with GPG
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Prepare Release to Maven Central
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
releaseVersion:
7+
description: 'Release and tag version'
8+
required: true
9+
default: "v1.5.0"
10+
developmentVersion:
11+
description: 'Version to use for new working copy'
12+
required: true
13+
default: '2.0.0-SNAPSHOT'
14+
15+
jobs:
16+
release:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v5
21+
with:
22+
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
23+
24+
- name: Set up JDK 8
25+
uses: actions/setup-java@v5
26+
with:
27+
distribution: 'zulu'
28+
java-version: '8'
29+
cache: 'maven'
30+
31+
- name: Configure Git user
32+
run: |
33+
git config user.email "actions@github.com"
34+
git config user.name "GitHub Actions"
35+
36+
- name: Run release release.yml
37+
env:
38+
GITHUB_ACTOR: ${{ github.actor }}
39+
GITHUB_TOKEN: ${{ github.token }}
40+
RELEASE_VERSION: ${{ github.event.inputs.releaseVersion }}
41+
DEVELOPMENT_VERSION: ${{ github.event.inputs.developmentVersion }}
42+
run: |
43+
./mvnw release:prepare -DskipTests -Darguments=-DskipTests \
44+
-DreleaseVersion="$RELEASE_VERSION" -Dtag="$RELEASE_VERSION" \
45+
-DdevelopmentVersion="$DEVELOPMENT_VERSION"

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release to Maven Central
1+
name: Publish Release to Maven Central
22

33
on:
44
push:
@@ -17,17 +17,13 @@ jobs:
1717
with:
1818
distribution: 'zulu'
1919
java-version: '8'
20+
cache: 'maven'
2021
server-id: central
2122
server-username: MAVEN_USERNAME
2223
server-password: MAVEN_TOKEN
2324
gpg-private-key: ${{ secrets.MAVEN_CENTRAL_GPG_PRIVATE_KEY }}
2425
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2526

26-
- name: Configure Git user
27-
run: |
28-
git config user.email "actions@github.com"
29-
git config user.name "GitHub Actions"
30-
3127
- name: Publish to Maven Central
3228
run: |
3329
./mvnw -B clean deploy -PsonatypeRelease -DskipTests

.github/workflows/snapshot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
jobs:
1111
publish-snapshot:
12+
if: "!contains(github.event.head_commit.message, '[maven-release-plugin]')"
1213
runs-on: ubuntu-latest
1314
steps:
1415
- name: Checkout code
@@ -19,6 +20,7 @@ jobs:
1920
with:
2021
distribution: 'zulu'
2122
java-version: '8'
23+
cache: 'maven'
2224
server-id: central-portal-snapshots
2325
server-username: MAVEN_USERNAME
2426
server-password: MAVEN_TOKEN

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## [Unreleased]
4+
5+
## [1.4.1] - 2025-11-07
46
- Bump httpclient from 4.5.14 to httpclient5 5.5.1
57
- Bump various maven plugins
68

@@ -17,7 +19,6 @@
1719
- Add support for environment variable `TARANTOOL_REGISTRY`
1820
- Remove enterprise tests
1921

20-
2122
## [1.3.2] - 2024-04-25
2223
- Fix NullPointerException during building docker image when images with null tags exist on a local machine.
2324

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Add the Maven dependency:
1414
<dependency>
1515
<groupId>io.tarantool</groupId>
1616
<artifactId>testcontainers-java-tarantool</artifactId>
17-
<version>1.4.0</version>
17+
<version>1.4.1</version>
1818
</dependency>
1919
```
2020

0 commit comments

Comments
 (0)