Skip to content

Add deprecation support for minimum version number #2

Add deprecation support for minimum version number

Add deprecation support for minimum version number #2

Workflow file for this run

name: Linux Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.9'
- name: Build
run: |
python3 -m venv .venv
source ./.venv/bin/activate
pip install -e ./
python build_style.py
sh ./scripts/build_linux.sh
- name: Zipping
run: |
echo "Zipping to Blender_Launcher_${{ env.RELEASE_VERSION }}_Ubuntu_x64.zip"
cd ./dist/release/
zip Blender_Launcher_${{ env.RELEASE_VERSION }}_Ubuntu_x64.zip "./Blender Launcher"
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./dist/release/Blender_Launcher_${{ env.RELEASE_VERSION }}_Ubuntu_x64.zip