File tree Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Copyright 2024 asyncer.io projects
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # https://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+ #
17+ set -e
18+
19+ VERSION=$( grep ' project.dev.io.asyncer\\:r2dbc-mysql=' r2dbc-mysql/release.properties | cut -d' =' -f2)
20+
21+ echo ' Set test-native-image version to' $VERSION
22+ ./mvnw -pl test-native-image versions:set -DnewVersion=$VERSION
23+ git add test-native-image/pom.xml
Original file line number Diff line number Diff line change 4747 key : ${{ runner.os }}-prepare-${{ hashFiles('**/pom.xml') }}
4848 restore-keys : ${{ runner.os }}-prepare-
4949
50+ - name : DryRun Release Prepare
51+ run : |
52+ ./mvnw -B -ntp -pl r2dbc-mysql release:prepare -DpreparationGoals=clean -DdryRun=true -DskipTests=true
53+
54+ - name : Upgrade Native Image Version
55+ run : ./.github/scripts/upgrade_native_image_version.sh
56+
5057 - name : Run release prepare command
5158 run : |
52- ./mvnw -B -ntp -pl r2dbc-mysql release:prepare -DpreparationGoals=clean -DskipTests=true
59+ ./mvnw -B -ntp -pl r2dbc-mysql release:prepare -DpreparationGoals=clean -Dresume=false - DskipTests=true
5360 ./mvnw -B -ntp clean
5461
5562 - name : Ensure Prepared
Original file line number Diff line number Diff line change 55 <modelVersion >4.0.0</modelVersion >
66 <groupId >io.asyncer</groupId >
77 <artifactId >test-native-image</artifactId >
8- <version >1.1.2 -SNAPSHOT</version >
8+ <version >1.1.3 -SNAPSHOT</version >
99
1010 <properties >
1111 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
You can’t perform that action at this time.
0 commit comments