Skip to content

Commit

Permalink
Fix branch name and build number
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebclem committed Aug 26, 2024
1 parent cf0a6e0 commit c8a0864
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
images: |
${{env.REPOSITORY}}/${{env.IMAGE}}/${{matrix.arch}}
tags: |
type=ref,event=branch
type=ref,event=branch,suffix=.${{ github.run_number }}
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update_repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ jobs:
with:
valueFile: 'repository/nextcloud_backup/config.yml'
propertyPath: 'version'
value: ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}
value: ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number}}
commitChange: false

- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT_PR }}
path: "repository"
commit-message: "Update Nextcloud Backup to ${{ steps.branch-names.outputs.current_branch }}.${{ github.run_id}}"
branch: "update/Nextcloud Backup/${{ 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/bextcloud_backup/${{ steps.branch-names.outputs.current_branch }}.${{ github.run_number }}"
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 }}"

0 comments on commit c8a0864

Please sign in to comment.