Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This directory contains the GitHub Actions workflows for the project.
- **Runs on**: Ubuntu latest

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

### Automatic Release
1. Create and push a new tag with semantic versioning format (e.g., `git tag 1.4.0 && git push origin 1.4.0`)
1. Create and push a new tag with semantic versioning format (e.g., `git tag 1.4.1 && git push origin 1.4.1`)
2. The release workflow will automatically:
- Build and test the project
- Sign the artifacts with GPG
Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
name: Release to Maven Central

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
inputs:
releaseVersion:
description: 'Release and tag version'
required: true
default: "v1.5.0-dev.N"
developmentVersion:
description: 'Version to use for new working copy'
required: true
default: '2.0.0-SNAPSHOT'

jobs:
release:
Expand All @@ -28,6 +35,15 @@ jobs:
git config user.email "actions@github.com"
git config user.name "GitHub Actions"

- name: Run release prepare
env:
RELEASE_VERSION: ${{ github.event.inputs.releaseVersion }}
DEVELOPMENT_VERSION: ${{ github.event.inputs.developmentVersion }}
run: |
./mvnw release:prepare -s .maven_settings.xml -DskipTests -Darguments=-DskipTests \
-DreleaseVersion="$RELEASE_VERSION" -Dtag="$RELEASE_VERSION" \
-DdevelopmentVersion="$DEVELOPMENT_VERSION"

- name: Publish to Maven Central
run: |
./mvnw -B clean deploy -PsonatypeRelease -DskipTests
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## [Unreleased]

## [1.4.1] - 2025-11-07
- Bump httpclient from 4.5.14 to httpclient5 5.5.1
- Bump various maven plugins

Expand All @@ -17,7 +19,6 @@
- Add support for environment variable `TARANTOOL_REGISTRY`
- Remove enterprise tests


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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add the Maven dependency:
<dependency>
<groupId>io.tarantool</groupId>
<artifactId>testcontainers-java-tarantool</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
</dependency>
```

Expand Down