1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

ci: use push-o-matic app for release process (#12075)

ci: use push-o-matic for release process
This commit is contained in:
Zack Pollard 2024-08-27 23:19:04 +01:00 committed by GitHub
parent 72ab664936
commit 028be6738e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,16 +40,22 @@ jobs:
- name: Bump version
run: misc/release/pump-version.sh -s "${{ inputs.serverBump }}" -m "${{ inputs.mobileBump }}"
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.PUSH_O_MATIC_APP_ID }}
private-key: ${{ secrets.PUSH_O_MATIC_APP_KEY }}
- 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 }}'
default_author: github_actions
message: 'chore: version ${{ env.IMMICH_VERSION }}'
tag: ${{ env.IMMICH_VERSION }}
push: true
github-token: ${{ steps.generate-token.outputs.token }}
build_mobile:
uses: ./.github/workflows/build-mobile.yml