Skip to content

Commit

Permalink
Merge pull request #4 from endlessm/T35666-assetlib
Browse files Browse the repository at this point in the history
Publish new version to Asset Library
  • Loading branch information
dbnicholson authored Oct 1, 2024
2 parents 9ab77a5 + 661198b commit 401e783
Show file tree
Hide file tree
Showing 8 changed files with 77 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf

# Exclude GitHub Actions-related files from published asset
/.github export-ignore
/asset-template.json.hb export-ignore

# Substitute project version when publishing
/project.godot export-subst
21 changes: 21 additions & 0 deletions .github/workflows/godot-asset-library.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
release:
types:
- published

name: Push to Godot Asset Library

jobs:
publish:
runs-on: ubuntu-latest
name: Push new release
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Push to Godot Asset Library
uses: deep-entertainment/[email protected]
with:
username: ${{ secrets.GODOT_ASSET_LIBRARY_USERNAME }}
password: ${{ secrets.GODOT_ASSET_LIBRARY_PASSWORD }}
assetId: 3369
assetTemplate: asset-template.json.hb
14 changes: 14 additions & 0 deletions asset-template.json.hb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": "Moddable Pong",
"description": "This mini moddable game project by Endless OS Foundation is intended to help ease the learning curve into Godot. This sample project allows learners to engage with game creation concepts, applying various modifications to the game itself, all without reading or writing any code.",
"category_id": "9",
"godot_version": "4.2",
"version_string": "{{ context.release.name }}",
"cost": "MIT",
"support_level": "community",
"download_provider": "GitHub",
"download_commit": "{{ env.GITHUB_SHA }}",
"browse_url": "{{ context.repository.html_url }}",
"issues_url": "{{ context.repository.html_url }}/issues",
"icon_url": "https://raw.githubusercontent.com/endlessm/modbable-pong/{{ context.release.tag_name }}/icon.png"
}
Empty file added doc/screenshots/.gdignore
Empty file.
Binary file added doc/screenshots/game-logic-in-inspector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions icon.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dkbv24i5btl4h"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icon.png"
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
1 change: 1 addition & 0 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config_version=5
[application]

config/name="Moddable Pong"
config/version="$Format:%(describe:tags)$"
run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.2", "GL Compatibility")
config/icon="res://icon.svg"
Expand Down

0 comments on commit 401e783

Please sign in to comment.