Skip to content

Commit

Permalink
Simplify naming of master-latest release (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsimsek committed Oct 15, 2021
1 parent 9091adf commit d7db06e
Showing 1 changed file with 7 additions and 7 deletions.
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=${{ env.RELEASE_BRANCH }}-latest
run: mvn -B package -Passembly --file pom.xml -Drevision=latest

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

Expand All @@ -38,9 +38,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Release ${{ env.RELEASE_BRANCH }}-latest
tag_name: ${{ env.RELEASE_BRANCH }}-latest
body: Release ${{ env.RELEASE_BRANCH }}-latest
name: Release latest
tag_name: latest
body: Release latest
draft: false
prerelease: false
files: debezium-server-dist/target/debezium-server-dist-${{ env.RELEASE_BRANCH }}-latest.zip
files: debezium-server-dist/target/debezium-server-dist-latest.zip

0 comments on commit d7db06e

Please sign in to comment.