diff --git a/dist/.gitignore b/dist/.gitignore new file mode 100644 index 0000000..3085187 --- /dev/null +++ b/dist/.gitignore @@ -0,0 +1 @@ +distrib diff --git a/dist/build-distrib.sh b/dist/build-distrib.sh new file mode 100755 index 0000000..de0186e --- /dev/null +++ b/dist/build-distrib.sh @@ -0,0 +1,46 @@ +#!/usr/sbin/env bash +export PS4="-> " +set -euxo pipefail +if [ -d "distrib" ]; then rm -rf distrib; fi +mkdir distrib +cd distrib +mkdir -p addons/CORE/dist +cat << EOF >> README.md +# CORE Framework distribution repository +This repository is used for distributing CORE in the [Godot Asset Library](https://godotengine.org/asset-library/). + +## [CORE Repository](https://git.staropensource.de/StarOpenSource/CORE) +## [Documentation](https://core.staropensource.de) +EOF +cp -r README.md addons/CORE/README.md +cp -r ../../.corebasepath addons/CORE/.corebasepath +cp -r ../../src addons/CORE/src +cp -r ../core.* addons/CORE/dist +cp -r ../FiraCode addons/CORE/dist/FiraCode +cp -r ../../LICENSE addons/CORE/LICENSE +cat << EOF >> .gitignore +# Godot 4+ specific ignores +.godot/ + +# Godot-specific ignores +.import/ +export.cfg +export_presets.cfg + +# Imported translations (automatically generated from CSV files) +*.translation + +# Mono-specific ignores +.mono/ +data_*/ +mono_crash.*.json +EOF +cat << EOF >> .gitattributes +# Normalize line endings for all files that Git considers text files. +* text=auto eol=lf + +# Only include the addons folder when downloading from the Asset Library. +/** export-ignore +/addons !export-ignore +/addons/** !export-ignore +EOF diff --git a/docs/static/dist b/docs/static/dist deleted file mode 120000 index 7724b92..0000000 --- a/docs/static/dist +++ /dev/null @@ -1 +0,0 @@ -../../dist \ No newline at end of file diff --git a/docs/static/dist/core.png b/docs/static/dist/core.png new file mode 120000 index 0000000..6ee9801 --- /dev/null +++ b/docs/static/dist/core.png @@ -0,0 +1 @@ +../../../dist/core.png \ No newline at end of file diff --git a/src/core.gd b/src/core.gd index 6363588..4fdc2ec 100644 --- a/src/core.gd +++ b/src/core.gd @@ -28,7 +28,7 @@ const version_release: int = 1 ## The release type const version_type: CoreTypes.VersionType = CoreTypes.VersionType.BETA ## The release type number. Resets on every new release and release type. -const version_typerelease: int = 1 +const version_typerelease: int = 2 # Modules ## Use this to access CORE's logging implementation.