-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify naming of master-latest release (#30)
- Loading branch information
1 parent
9091adf
commit d7db06e
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
||
|
@@ -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 |