Skip to content

Commit 78220e5

Browse files
swtwskgithub-actions
andauthored
Bump version to 0.3.0-SNAPSHOT (#7)
* Bump CHANGELOG for release 0.2.0 * Fix workflow that bumps the SNAPSHOT Co-authored-by: github-actions <github-actions@github.com>
1 parent 699bdee commit 78220e5

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

.github/workflows/prepare_release_branch.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,17 @@ jobs:
5252
5353
- name: Bump development version
5454
run: |
55-
git checkout main
55+
git checkout -b bump-version-after-${{ steps.save_current_version.outputs.current_version }}
5656
mvn validate -D 'bump${{ github.event.inputs.version_part }}' -DgenerateBackupPoms=false
5757
git commit -am "Bump development version to $(mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout)"
58-
git push origin main
58+
git push -u origin bump-version-after-${{ steps.save_current_version.outputs.current_version }}
59+
60+
- name: Open a PR to bump development version to main
61+
id: open_pr
62+
uses: vsoch/pull-request-action@1.0.12
63+
env:
64+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65+
PULL_REQUEST_BRANCH: main
66+
PULL_REQUEST_FROM_BRANCH: bump-version-after-${{ steps.save_current_version.outputs.current_version }}
67+
PULL_REQUEST_TITLE: "Bump development version after release of ${{ steps.save_current_version.outputs.current_version }}"
68+
PULL_REQUEST_BODY: "Bump SNAPSHOT version and CHANGELOG for subsequent development."

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22

33
## [Unreleased]
44

5-
- Implement [HttpSink](src/main/java/com/getindata/connectors/http/sink/HttpSink.java) deriving from [AsyncSinkBase](https://cwiki.apache.org/confluence/display/FLINK/FLIP-171%3A+Async+Sink) introduced in Flink 1.15.
6-
- Add support for Table API in HttpSink in the form of [HttpDynamicSink](src/main/java/com/getindata/connectors/http/table/HttpDynamicSink.java).
5+
## [0.2.0] - 2022-07-06
6+
7+
- Implement [HttpSink](src/main/java/com/getindata/connectors/http/sink/HttpSink.java) deriving from [AsyncSinkBase](https://cwiki.apache.org/confluence/display/FLINK/FLIP-171%3A+Async+Sink) introduced in Flink 1.15.
8+
- Add support for Table API in HttpSink in the form of [HttpDynamicSink](src/main/java/com/getindata/connectors/http/table/HttpDynamicSink.java).
79

810
## [0.1.0] - 2022-05-26
911

1012
- Implement basic support for Http connector for Flink SQL
1113

12-
[Unreleased]: https://github.com/getindata/flink-http-connector/compare/0.1.0...HEAD
14+
[Unreleased]: https://github.com/getindata/flink-http-connector/compare/0.2.0...HEAD
15+
16+
[0.2.0]: https://github.com/getindata/flink-http-connector/compare/0.1.0...0.2.0
1317

1418
[0.1.0]: https://github.com/getindata/flink-http-connector/compare/dfe9bfeaa73e77b1de14cd0cb0546a925583e23e...0.1.0

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ under the License.
2323

2424
<groupId>com.getindata</groupId>
2525
<artifactId>flink-http-connector</artifactId>
26-
<version>0.2.0-SNAPSHOT</version>
26+
<version>0.3.0-SNAPSHOT</version>
2727
<packaging>jar</packaging>
2828

2929
<name>flink-http-connector</name>

0 commit comments

Comments
 (0)