diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 49300f4..aefe7db 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -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