You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Extract the version from the log, which is in the format of "1.1.0-dev.14" or "1.1.0". So we would have to handle any characters after an optional hyphen, and one dot then a number.
43
+
VERSION=$(grep -oP 'Published release \K[0-9]+\.[0-9]+\.[0-9]+(?:-[0-9A-Za-z\.-]+)?' semantic-release.log | head -n 1)
44
+
# Last ditch effort to get the version.
45
+
if [ -z "$VERSION" ]; then
46
+
# When the new release version is not found in the log, we can try extracting the found last version from the log.
47
+
# Starts with 'Found git tag'
48
+
VERSION=$(grep -oP 'Found git tag v\K[0-9]+\.[0-9]+\.[0-9]+(?:-[0-9A-Za-z\.-]+)?' semantic-release.log | head -n 1)
49
+
fi
50
+
if [ -z "$VERSION" ]; then
51
+
echo "No version found in semantic-release output"
52
+
exit 1
53
+
fi
54
+
echo "Version found: $VERSION"
55
+
echo "VERSION=$VERSION" >> $GITHUB_ENV
56
+
echo "version=$VERSION" >> $GITHUB_OUTPUT
57
+
58
+
59
+
package:
60
+
runs-on: ubuntu-latest
61
+
needs:
62
+
- semantic-versioning
63
+
64
+
steps:
65
+
- name: Checkout repository
66
+
uses: actions/checkout@v3
67
+
68
+
- name: Create addons folder and move GDBuildSystem
This Godot Add-on makes exporting your game easier by providing necessary features into your export pipeline.
2
+
3
+
Features:
4
+
==============================
5
+
* Asset Bundling
6
+
Simplifies the process of bundling assets without the need for complex scripts or manual work. Simply the user will place files within the designated bundle directory under the bundles directory.
0 commit comments