mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
95cfe22866
* cuda and openvino ep, refactor, update dockerfile * updated workflow * typing fixes * added tests * updated ml test gh action * updated README * updated docker-compose * added compute to hwaccel.yml * updated gh matrix updated gh matrix updated gh matrix updated gh matrix updated gh matrix give up * remove cuda/arm64 build * add hwaccel image tags to docker-compose * remove unnecessary quotes * add suffix to git tag * fixed kwargs in base model * armnn ld_library_path * update pyproject.toml * add armnn workflow * formatting * consolidate hwaccel files, update docker compose * update hw transcoding docs * add ml hwaccel docs * update dev and prod docker-compose * added armnn prerequisite docs * support 3.10 * updated docker-compose comments * formatting * test coverage * don't set arena extend strategy for openvino * working openvino * formatting * fix dockerfile * added type annotation * add wsl configuration for openvino * updated lock file * copy python3 * comment out extends section * fix platforms * simplify workflow suffix tagging * simplify aio transcoding doc * update docs and workflow for `hwaccel.yml` change * revert docs
89 lines
2.1 KiB
YAML
89 lines
2.1 KiB
YAML
name: Prepare new release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
serverBump:
|
|
description: "Bump server version"
|
|
required: true
|
|
default: "false"
|
|
type: choice
|
|
options:
|
|
- "false"
|
|
- minor
|
|
- patch
|
|
mobileBump:
|
|
description: "Bump mobile build number"
|
|
required: false
|
|
type: boolean
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}-root
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
bump_version:
|
|
runs-on: ubuntu-latest
|
|
|
|
outputs:
|
|
ref: ${{ steps.push-tag.outputs.commit_long_sha }}
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.ORG_RELEASE_TOKEN }}
|
|
|
|
- name: Install Poetry
|
|
run: pipx install poetry
|
|
|
|
- name: Bump version
|
|
run: misc/release/pump-version.sh -s "${{ inputs.serverBump }}" -m "${{ inputs.mobileBump }}"
|
|
|
|
- name: Commit and tag
|
|
id: push-tag
|
|
uses: EndBug/add-and-commit@v9
|
|
with:
|
|
author_name: Alex The Bot
|
|
author_email: alex.tran1502@gmail.com
|
|
default_author: user_info
|
|
message: "Version ${{ env.IMMICH_VERSION }}"
|
|
tag: ${{ env.IMMICH_VERSION }}
|
|
push: true
|
|
|
|
build_mobile:
|
|
uses: ./.github/workflows/build-mobile.yml
|
|
needs: bump_version
|
|
secrets: inherit
|
|
with:
|
|
ref: ${{ needs.bump_version.outputs.ref }}
|
|
|
|
prepare_release:
|
|
runs-on: ubuntu-latest
|
|
needs: build_mobile
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.ORG_RELEASE_TOKEN }}
|
|
|
|
- name: Download APK
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: release-apk-signed
|
|
|
|
- name: Create draft release
|
|
uses: softprops/action-gh-release@v1
|
|
with:
|
|
draft: true
|
|
tag_name: ${{ env.IMMICH_VERSION }}
|
|
generate_release_notes: true
|
|
body_path: misc/release/notes.tmpl
|
|
files: |
|
|
docker/docker-compose.yml
|
|
docker/example.env
|
|
docker/hwaccel.ml.yml
|
|
docker/hwaccel.transcoding.yml
|
|
*.apk
|