Further config of GH Actions for OWR
This commit is contained in:
12
.github/workflows/release-create.yml
vendored
12
.github/workflows/release-create.yml
vendored
@@ -359,10 +359,6 @@ jobs:
|
|||||||
echo "Windows Asset: ${{ steps.identify-windows-asset.outputs.asset_windows }}"
|
echo "Windows Asset: ${{ steps.identify-windows-asset.outputs.asset_windows }}"
|
||||||
|
|
||||||
# create a release (MASTER)
|
# create a release (MASTER)
|
||||||
#TODO: Make sure we updated RELEASENOTES.md
|
|
||||||
#TODO: Make sure we're firing on the proper branches
|
|
||||||
# if: contains(github.ref, 'master') # branch or tag name
|
|
||||||
# if: contains(github.event.head_commit.message, 'Version bump') # commit message
|
|
||||||
- name: 📀->🚀Create a Release (MASTER)
|
- name: 📀->🚀Create a Release (MASTER)
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1.1.4
|
uses: actions/create-release@v1.1.4
|
||||||
@@ -373,7 +369,7 @@ jobs:
|
|||||||
release_name: ${{ steps.debug_info.outputs.release_name }}
|
release_name: ${{ steps.debug_info.outputs.release_name }}
|
||||||
body_path: RELEASENOTES.md
|
body_path: RELEASENOTES.md
|
||||||
# draft: true
|
# draft: true
|
||||||
if: contains(github.ref, 'master')
|
if: contains(github.ref, 'OverworldShuffle') && contains(github.event.head_commit.message, 'Version bump') # branch/tag name and commit message
|
||||||
|
|
||||||
# upload linux archive asset (MASTER)
|
# upload linux archive asset (MASTER)
|
||||||
#TODO: Make sure we're firing on the proper branches
|
#TODO: Make sure we're firing on the proper branches
|
||||||
@@ -387,7 +383,7 @@ jobs:
|
|||||||
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/linux/${{ steps.identify-linux-asset.outputs.asset_linux }}
|
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/linux/${{ steps.identify-linux-asset.outputs.asset_linux }}
|
||||||
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-linux-focal.tar.gz
|
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-linux-focal.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
if: contains(github.ref, 'master')
|
if: contains(github.ref, 'OverworldShuffle') && contains(github.event.head_commit.message, 'Version bump') # branch/tag name and commit message
|
||||||
|
|
||||||
# upload macos archive asset (MASTER)
|
# upload macos archive asset (MASTER)
|
||||||
#TODO: Make sure we're firing on the proper branches
|
#TODO: Make sure we're firing on the proper branches
|
||||||
@@ -401,7 +397,7 @@ jobs:
|
|||||||
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/macos/${{ steps.identify-macos-asset.outputs.asset_macos }}
|
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/macos/${{ steps.identify-macos-asset.outputs.asset_macos }}
|
||||||
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-osx.tar.gz
|
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-osx.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
if: contains(github.ref, 'master')
|
if: contains(github.ref, 'OverworldShuffle') && contains(github.event.head_commit.message, 'Version bump') # branch/tag name and commit message
|
||||||
|
|
||||||
# upload windows archive asset (MASTER)
|
# upload windows archive asset (MASTER)
|
||||||
#TODO: Make sure we're firing on the proper branches
|
#TODO: Make sure we're firing on the proper branches
|
||||||
@@ -415,4 +411,4 @@ jobs:
|
|||||||
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/windows/${{ steps.identify-windows-asset.outputs.asset_windows }}
|
asset_path: ${{ steps.parentDir.outputs.parentDir }}/deploy/windows/${{ steps.identify-windows-asset.outputs.asset_windows }}
|
||||||
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-windows.zip
|
asset_name: ${{ steps.debug_info.outputs.asset_prefix }}-windows.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
if: contains(github.ref, 'master')
|
if: contains(github.ref, 'OverworldShuffle') && contains(github.event.head_commit.message, 'Version bump') # branch/tag name and commit message
|
||||||
|
|||||||
2
Text.py
2
Text.py
@@ -119,7 +119,7 @@ Triforce_texts = [
|
|||||||
" Hello. Will you\n you be my friend?",
|
" Hello. Will you\n you be my friend?",
|
||||||
" Beetorp\n was\n here!",
|
" Beetorp\n was\n here!",
|
||||||
" The Wind Fish\n will wake soon.\n Hoot!",
|
" The Wind Fish\n will wake soon.\n Hoot!",
|
||||||
" Meow Meow Meow\n Meow Meow Meow\n Oh my god!",
|
" Meow Meow Meow\n Meow Meow Meow\n Oh My God!",
|
||||||
" Ahhhhhhhhh\n Ya ya yaaaah\n Ya ya yaaah",
|
" Ahhhhhhhhh\n Ya ya yaaaah\n Ya ya yaaah",
|
||||||
" .done\n\n .comment lol",
|
" .done\n\n .comment lol",
|
||||||
" You get to\n drink from\n the firehose",
|
" You get to\n drink from\n the firehose",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
from Main import __version__ as DRVersion
|
from OverworldShuffle import __version__ as OWVersion
|
||||||
import os
|
import os
|
||||||
|
|
||||||
with(open(os.path.join("resources","app","meta","manifests","app_version.txt"),"w+")) as f:
|
with(open(os.path.join("resources","app","meta","manifests","app_version.txt"),"w+")) as f:
|
||||||
f.write(DRVersion)
|
f.write(OWVersion)
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ for r, d, f in os.walk(os.path.join(".", ".github")):
|
|||||||
apiRes = json.loads(
|
apiRes = json.loads(
|
||||||
apiReq.read().decode("utf-8"))
|
apiReq.read().decode("utf-8"))
|
||||||
except JSONDecodeError as e:
|
except JSONDecodeError as e:
|
||||||
raise ValueError("🔴API Request failed: " + apiURL)
|
raise ValueError("API Request failed: " + apiURL)
|
||||||
if apiRes:
|
if apiRes:
|
||||||
latest = apiRes["tag_name"] if "tag_name" in apiRes else ""
|
latest = apiRes["tag_name"] if "tag_name" in apiRes else ""
|
||||||
if latest != "":
|
if latest != "":
|
||||||
@@ -143,7 +143,7 @@ for action, actionData in allACTIONS.items():
|
|||||||
filename_line +
|
filename_line +
|
||||||
" "
|
" "
|
||||||
)
|
)
|
||||||
print("| 🔴Outdated |")
|
print("| Outdated |")
|
||||||
print(
|
print(
|
||||||
"|" +
|
"|" +
|
||||||
filename_line +
|
filename_line +
|
||||||
|
|||||||
Reference in New Issue
Block a user