Skip to content

Merge pull request #11 from ynput/enhancement/add_error_message_for_u… #12

Merge pull request #11 from ynput/enhancement/add_error_message_for_u…

Merge pull request #11 from ynput/enhancement/add_error_message_for_u… #12

Workflow file for this run

name: 🚀 Create Release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
name: "Release from tag"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Create ZIP files
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- run: |
for dir in $(find . -type d -name "UE_*"); do
cd "$dir"
zip -qq -r "../${{ github.event.repository.name }}_$( echo $dir | sed 's/^\.//g' | sed 's/\///g')-$RELEASE_VERSION.zip" ./Ayon
cd ..
done
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
draft: true
files: |
*_UE_*-*.zip