-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update deploy doc and script and mark rc as prerelease (#31)
* mark prereleases * update deploy doc and script * update changelog
- Loading branch information
Showing
7 changed files
with
178 additions
and
208 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 |
---|---|---|
|
@@ -26,10 +26,17 @@ jobs: | |
java-version: 11 | ||
- name: Set tag version | ||
run: | | ||
echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV | ||
VERSION=${GITHUB_REF##*/} | ||
echo "VERSION=$VERSION" >> $GITHUB_ENV | ||
PRE_RELEASE=false | ||
if [[ "$VERSION" =~ -rc ]]; then | ||
PRE_RELEASE=true | ||
fi | ||
echo "PRE_RELEASE=$PRE_RELEASE" >> $GITHUB_ENV | ||
- name: Defined tag version | ||
run: | | ||
echo VERSION=$VERSION | ||
echo PRE_RELEASE=$PRE_RELEASE | ||
- name: Build artifacts | ||
uses: gradle/[email protected] | ||
with: | ||
|
@@ -39,5 +46,6 @@ jobs: | |
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
prerelease: ${{ PRE_RELEASE }} | ||
artifacts: "build/distributions/*" | ||
bodyFile: "RELEASE_CHANGELOG.md" |
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
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
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
Oops, something went wrong.