GHA: Fix demo has empty version file
This commit is contained in:
parent
5045e5b864
commit
24382d3fd1
|
@ -26,10 +26,12 @@ jobs:
|
||||||
fetch-tags: true
|
fetch-tags: true
|
||||||
ref: ${{ inputs.limboai-ref }}
|
ref: ${{ inputs.limboai-ref }}
|
||||||
|
|
||||||
|
- name: Init version
|
||||||
|
run: echo "LIMBOAI_VERSION=$( (git describe --tags --exact-match HEAD || git rev-parse --short HEAD) | sed 's/\(.*\)-\(.*\)/\1.\2/g' )" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "LIMBOAI_VERSION=$( (git describe --tags --exact-match HEAD || git rev-parse --short HEAD) | sed 's/\(.*\)-\(.*\)/\1.\2/g' )" >> "$GITHUB_ENV"
|
|
||||||
cp {README,LICENSE}.md demo/
|
cp {README,LICENSE}.md demo/
|
||||||
mkdir -p demo/addons/limboai/
|
mkdir -p demo/addons/limboai/
|
||||||
cp -R icons/ demo/addons/limboai/icons
|
cp -R icons/ demo/addons/limboai/icons
|
||||||
|
|
Loading…
Reference in New Issue