Skip to content

Commit

Permalink
Fix on-commits.yml
Browse files Browse the repository at this point in the history
+ git push --delete ***github.com/orange-cloudfoundry/k3s-packages-boshrelease.git 1.24.17+k3s1
error: unable to delete '1.24.17+k3s1': remote ref does not exist
error: failed to push some refs to 'https://github.com/orange-cloudfoundry/k3s-packages-boshrelease.git'
  • Loading branch information
gberche-orange committed Jan 3, 2024
1 parent 9a1008f commit 6879772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/on-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
git push ${remote_repo} HEAD:${INPUT_TARGET_BRANCH}
# Delete any existing release with same tag. Ignore push failure if no tag exists.
git push --delete ${remote_repo} ${version}
! git push --delete ${remote_repo} ${version}
# Push the tag
git push ${remote_repo} ${version} --force
Expand Down

0 comments on commit 6879772

Please sign in to comment.