message: workflows: only package on release
diff: @@ -107,7 +107,8 @@ jobs:
  run: cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_BACKEND=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=install -Bbuild/release -H.
  - name: build
  run: cmake --build build/release --target install -- -j2
  - - name: package
  + - name: Package
  + if: startsWith(github.ref, 'refs/tags/v')
  run: tools/create_packages.sh ./install .
  - name: Publish artefacts
  if: startsWith(github.ref, 'refs/tags/v')
  @@ -134,7 +135,8 @@ jobs:
  run: cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_BACKEND=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=install -Bbuild/release -H.
  - name: build
  run: cmake --build build/release --target install -- -j2
  - - name: package
  + - name: Package
  + if: startsWith(github.ref, 'refs/tags/v')
  run: tools/create_packages.sh ./install .
  - name: Publish artefacts
  if: startsWith(github.ref, 'refs/tags/v')
  @@ -262,7 +264,8 @@ jobs:
  run: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$(pwd)/tools/ios.toolchain.cmake -DPLATFORM=SIMULATOR64 -DBUILD_BACKEND=ON -DBUILD_SHARED_LIBS=OFF -j 2 -Bbuild/ios_simulator -H.
  - name: build (ios_simulator)
  run: cmake --build build/ios_simulator -j 2
  - - name: package
  + - name: Package
  + if: startsWith(github.ref, 'refs/tags/v')
  run: bash ./src/backend/tools/package_backend_framework.bash
  - name: Publish artefacts
  if: startsWith(github.ref, 'refs/tags/v')
  