Merge remote-tracking branch 'upstream/master'
This commit is contained in:
35
.woodpecker.yml
Normal file
35
.woodpecker.yml
Normal file
@ -0,0 +1,35 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: debian:unstable-slim
|
||||
commands:
|
||||
- apt update
|
||||
- apt install wget tar bzip2 libgl1 -y
|
||||
- wget 'https://www.renpy.org/dl/8.0.3/renpy-8.0.3-sdk.tar.bz2' -O /tmp/renpy.tar.xz
|
||||
- tar -axvf /tmp/renpy.tar.xz --directory=/tmp/
|
||||
- sed -i -e "s/INTERNAL-BUILD/${CI_COMMIT_TAG}/g" game/options.rpy #Change the internal build name to the tagged version
|
||||
- /tmp/renpy-8.0.3-sdk/renpy.sh /tmp/renpy-8.0.3-sdk/launcher distribute . #https://github.com/renpy/renpy/issues/4257
|
||||
|
||||
archival:
|
||||
image: debian:unstable-slim
|
||||
commands:
|
||||
- apt update
|
||||
- apt install curl bash -y
|
||||
- curl https://git.cavemanon.xyz/Cavemanon/Woodpecker-Webdav/raw/branch/master/push.sh > /tmp/push.sh ## I'd use a proper docker container, but dockerhub is owned by the CIA and I refuse to deal with that (also I don't care to maintain it or set it up).
|
||||
- chmod +x /tmp/push.sh
|
||||
- PLUGIN_USERNAME=$RELEASESMITHNEXTCLOUDUSERNAME PLUGIN_PASSWORD=$RELEASESMITHNEXTCLOUDPASSWORD PLUGIN_DESTINATION=https://cloud.dev.cavemanon.xyz/remote.php/dav/files/ReleaseSmith/Wani/Internal%20Builds/${CI_COMMIT_TAG}/ PLUGIN_MAKE_FOLDER_AT=https://cloud.dev.cavemanon.xyz/remote.php/dav/files/ReleaseSmith/Wani/Internal%20Builds/${CI_COMMIT_TAG}/ PLUGIN_FILE_GLOB=*-dists/* /tmp/push.sh #sovl
|
||||
secrets: [ ReleaseSmithNextcloudUsername, ReleaseSmithNextcloudPassword ]
|
||||
when:
|
||||
event: tag
|
||||
|
||||
release:
|
||||
image: woodpeckerci/plugin-gitea-release:latest
|
||||
settings:
|
||||
base_url: https://git.cavemanon.xyz
|
||||
api_key:
|
||||
from_secret: ReleaseSmithAPIKey
|
||||
files: "*-dists/*"
|
||||
prerelease: true
|
||||
title: ${CI_COMMIT_TAG}
|
||||
when:
|
||||
event: tag
|
||||
|
24
README.md
24
README.md
@ -5,4 +5,26 @@ The gator girl's gamu.
|
||||
|
||||
## Building
|
||||
|
||||
Check the build script .woodpecker.yml for information on how to build this project.
|
||||
LINUX (DEBIAN):
|
||||
|
||||
(DIRECTORY) is a directory of your choosing
|
||||
|
||||
Enter into your terminal:
|
||||
|
||||
- apt update
|
||||
- apt install wget tar bzip2 libgl1 -y
|
||||
- wget 'https://www.renpy.org/dl/8.0.3/renpy-8.0.3-sdk.tar.bz2' -O /(DIRECTORY)/renpy.tar.xz
|
||||
- tar -axvf /(DIRECTORY)/renpy.tar.xz --directory=/(DIRECTORY)/
|
||||
|
||||
WINDOWS & MAC:
|
||||
|
||||
Download the 8.0.3 SDK here: https://www.renpy.org/release_list.html
|
||||
|
||||
Run the .exe or extract a .zip depending on your download choice. Set it into a folder of your choosing.
|
||||
|
||||
|
||||
Clone this repo within the Ren'Py SDK or to a directory of your choosing and set the SDK's projects path to the folder containing your repo. Make sure the project is selected within the projects list.
|
||||
|
||||
Click 'Launch Project' to launch the game in devmode, which is the same as normal play but grants access to several dev tools and custom Wani dev menus. When you're ready to distribute, click 'Build Distributions' and select your appropriate OS's. Click 'Build' and your builds will appear beside your cloned folder.
|
||||
|
||||
More information on the build process can be found here: https://www.renpy.org/doc/html/build.html#building-distributions. The 'woodpecker.yml' file is for reference in CI/CD and may be useful for some.
|
||||
|
@ -24,7 +24,7 @@ define gui.show_name = True
|
||||
|
||||
## The version of the game.
|
||||
|
||||
define config.version = "INTERNAL-BUILD"
|
||||
define config.version = "v1.0.0"
|
||||
|
||||
## Text that is placed on the game's about screen. Place the text between the
|
||||
## triple-quotes, and leave a blank line between paragraphs.
|
||||
|
Reference in New Issue
Block a user