mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-09 19:12:58 +01:00
Fix branch name and build number
This commit is contained in:
parent
cf0a6e0137
commit
c8a0864fdd
2
.github/workflows/build_addon.yml
vendored
2
.github/workflows/build_addon.yml
vendored
@ -120,7 +120,7 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
${{env.REPOSITORY}}/${{env.IMAGE}}/${{matrix.arch}}
|
${{env.REPOSITORY}}/${{env.IMAGE}}/${{matrix.arch}}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch,suffix=.${{ github.run_number }}
|
||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
|
8
.github/workflows/update_repository.yml
vendored
8
.github/workflows/update_repository.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
valueFile: 'repository/nextcloud_backup/config.yml'
|
valueFile: 'repository/nextcloud_backup/config.yml'
|
||||||
propertyPath: 'version'
|
propertyPath: 'version'
|
||||||
value: ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}
|
value: ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number}}
|
||||||
commitChange: false
|
commitChange: false
|
||||||
|
|
||||||
- name: Create pull request
|
- name: Create pull request
|
||||||
@ -54,7 +54,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT_PR }}
|
token: ${{ secrets.PAT_PR }}
|
||||||
path: "repository"
|
path: "repository"
|
||||||
commit-message: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}"
|
commit-message: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number }}"
|
||||||
branch: "update/Nextcloud Backup/${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}"
|
branch: "update/bextcloud_backup/${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number }}"
|
||||||
base: "${{ steps.branch-names.outputs.current_branch }}"
|
base: "${{ steps.branch-names.outputs.current_branch }}"
|
||||||
title: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}"
|
title: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user