GHA: Fix demo has empty version file
This commit is contained in:
parent
5045e5b864
commit
24382d3fd1
|
@ -26,10 +26,12 @@ jobs:
|
|||
fetch-tags: true
|
||||
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
|
||||
shell: bash
|
||||
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/
|
||||
mkdir -p demo/addons/limboai/
|
||||
cp -R icons/ demo/addons/limboai/icons
|
||||
|
|
Loading…
Reference in New Issue