Skip to content

Commit

Permalink
create release 0.1.0.Alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsimsek committed Apr 23, 2021
1 parent 9f3225e commit 0cf8f68
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Create Release
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
- '*.*.*.*'

env:
SPARK_LOCAL_IP: 127.0.0.1
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Build project
run: mvn -B package -Passembly --file pom.xml -Drevision=latest
run: mvn -B package -Passembly --file pom.xml -Drevision=${{ env.RELEASE_BRANCH }}-latest

- name: Delete latest release
- name: Delete ${{ env.RELEASE_BRANCH }}-latest release
uses: dev-drprasad/[email protected]
with:
delete_release: true # default: false
tag_name: latest
tag_name: ${{ env.RELEASE_BRANCH }}-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -38,9 +38,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: latest
tag_name: latest
body: release of master branch
name: Release ${{ env.RELEASE_BRANCH }}-latest
tag_name: ${{ env.RELEASE_BRANCH }}-latest
body: Release ${{ env.RELEASE_BRANCH }}-latest
draft: false
prerelease: false
files: debezium-server-dist/target/debezium-server-dist-latest.zip
files: debezium-server-dist/target/debezium-server-dist-${{ env.RELEASE_BRANCH }}-latest.zip
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<packaging>pom</packaging>

<properties>
<revision>1.0.1-SNAPSHOT</revision>
<revision>0.1.0-SNAPSHOT</revision>

<!-- Instruct the build to use only UTF-8 encoding for source code -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit 0cf8f68

Please sign in to comment.