mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-27 09:01:02 +00:00
feat: create release v1
This commit is contained in:
39
.github/workflows/beta.yml
vendored
39
.github/workflows/beta.yml
vendored
@@ -98,19 +98,30 @@ jobs:
|
||||
./gradlew assembleGoogleAlpha;
|
||||
fi
|
||||
|
||||
- name: Upload Artifact or Create Release
|
||||
if: ${{ env.SKIP_BUILD != 'true' }}
|
||||
uses: softprops/action-gh-release@v1
|
||||
- name: Upload a Build Artifact
|
||||
if: ${{ env.SKIP_BUILD != 'true' || github.repo == 'rebelonion/Dantotsu' }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
files: app/build/outputs/apk/google/alpha/app-google-alpha.apk
|
||||
tag_name: ${{ env.VERSION }}
|
||||
name: ${{ github.repository == 'rebelonion/Dantotsu' && 'Dantotsu' || format('Release {0}', env.VERSION) }}
|
||||
body_path: ${{ github.repository != 'rebelonion/Dantotsu' && 'commit_log.txt' || '' }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
generate_release_notes: ${{ github.repository == 'rebelonion/Dantotsu' }}
|
||||
name: Dantotsu
|
||||
retention-days: 5
|
||||
compression-level: 9
|
||||
path: "app/build/outputs/apk/google/alpha/app-google-alpha.apk"
|
||||
|
||||
- name: Create GitHub Release
|
||||
if: ${{ env.SKIP_BUILD != 'true' && github.repo =! 'rebelonion/Dantotsu' }}
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
files: app/build/outputs/apk/google/alpha/app-google-alpha.apk
|
||||
name: Alpha Build ${{ env.VERSION }}
|
||||
tag_name: v${{ env.VERSION }}
|
||||
body: |
|
||||
New Alpha Build ${{ env.VERSION }} released!
|
||||
|
||||
Changelog:
|
||||
${{ env.COMMIT_LOG }}
|
||||
prerelease: true
|
||||
|
||||
- name: Upload APK to Discord and Telegram
|
||||
shell: bash
|
||||
@@ -128,14 +139,14 @@ jobs:
|
||||
|
||||
# Additional information for the goats
|
||||
declare -A additional_info
|
||||
additional_info["ibo"]="\n Discord: <@951737931159187457>\n AniList: [takarealist112](<https://anilist.co/user/takarealist112/>)"
|
||||
additional_info["aayush262"]="\n Discord: <@918825160654598224>\n AniList: [aayush262](<https://anilist.co/user/aayush262/>)"
|
||||
additional_info["rebelonion"]="\n Discord: <@714249925248024617>\n AniList: [rebelonion](<https://anilist.co/user/rebelonion/>)\n PornHub: [rebelonion](<https://www.cornhub.com/model/rebelonion>)"
|
||||
additional_info["ibo"]="\n Discord: <@951737931159187457>\n AniList: [takarealist112](<https://anilist.co/user/5790266/>)"
|
||||
additional_info["aayush262"]="\n Discord: <@918825160654598224>\n AniList: [aayush262](<https://anilist.co/user/5144645/>)"
|
||||
additional_info["rebelonion"]="\n Discord: <@714249925248024617>\n AniList: [rebelonion](<https://anilist.co/user/6077251/>)\n PornHub: [rebelonion](<https://www.cornhub.com/model/rebelonion>)"
|
||||
|
||||
# Decimal color codes for contributors
|
||||
declare -A contributor_colors
|
||||
default_color="#ff25f9"
|
||||
contributor_colors["ibo"]="#ff7500"
|
||||
contributor_colors["ibo"]="#ff9b46"
|
||||
contributor_colors["aayush262"]="#5d689d"
|
||||
contributor_colors["Sadwhy"]="#ff7e95"
|
||||
contributor_colors["rebelonion"]="#d4e5ed"
|
||||
|
||||
Reference in New Issue
Block a user