2023-08-02 16:50:17 +00:00
|
|
|
name: Setup version
|
|
|
|
|
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
|
|
|
- name: Set GODOT_VERSION & LIMBOAI_VERSION
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
echo "GODOT_VERSION=$( (git describe --tags --exact-match HEAD || git rev-parse --short HEAD) | sed 's/\(.*\)-\(.*\)/\1/g' )" >> "$GITHUB_ENV"
|
|
|
|
cd modules/limboai
|
2024-01-16 11:57:54 +00:00
|
|
|
echo "LIMBOAI_VERSION=$( (git describe --tags --exact-match HEAD || git rev-parse --short HEAD) | sed 's/\(.*\)-\(.*\)/\1.\2/g' )" >> "$GITHUB_ENV"
|
2023-08-02 16:50:17 +00:00
|
|
|
|
|
|
|
- name: Set NAME_PREFIX
|
|
|
|
shell: bash
|
2024-03-10 12:07:27 +00:00
|
|
|
run: echo "NAME_PREFIX=limboai+${LIMBOAI_VERSION}.godot-${GODOT_VERSION}" >> "$GITHUB_ENV"
|
2023-08-02 18:51:22 +00:00
|
|
|
|
|
|
|
- name: Set GODOT_VERSION_STATUS & BUILD_NAME
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
echo "GODOT_VERSION_STATUS=limboai+${LIMBOAI_VERSION}" >> "$GITHUB_ENV"
|
|
|
|
echo "BUILD_NAME=gha" >> "$GITHUB_ENV"
|