Skip to content

Commit

Permalink
Merge branch 'main' into addon
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptsengineer committed Sep 19, 2023
2 parents acd1f57 + 833a868 commit f7be4a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/.asset-template-addons.json.hb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Modular inventory system for godot 4 with nodes, compatible with multiplayer, separate logic from the UI, Using items as separate resources.\nDemos: https://godotengine.org/asset-library/asset/1895",
"category_id": "6",
"godot_version": "4.1",
"version_string": "{{ env.steps.set_plugin_version.outputs.plugin_version }}",
"version_string": "{{ env.PLUGIN_VERSION }}",
"cost": "MIT",
"download_provider": "GitHub",
"download_commit": "{{ env.GITHUB_SHA }}",
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/push_addon_to_asset_lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
default: '1.0.0'
push:
branches: [ addon ]

env:
PLUGIN_VERSION: 0.0.1


jobs:
Expand Down Expand Up @@ -37,6 +40,7 @@ jobs:
VERSION=$(grep version addons/inventory-system/plugin.cfg | cut -d "=" -f 2 | tr -d '"')
echo "plugin_version=${VERSION}"
echo "plugin_version=${VERSION}" >> $GITHUB_OUTPUT
echo "PLUGIN_VERSION=${VERSION}" >> $GITHUB_ENV
- name: Godot Asset Lib
# You may pin to the exact commit or the version.
Expand All @@ -57,4 +61,4 @@ jobs:
- name: Debug Godot Asset Lib
run: |
echo "plugin_version=${{ steps.set_plugin_version.outputs.plugin_version }}"
echo ${{ env }}
echo $PLUGIN_VERSION

0 comments on commit f7be4a7

Please sign in to comment.