Skip to content

Commit

Permalink
WIP: testing new publish ci x25
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Aug 23, 2024
1 parent 65e202a commit e8bc5ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ jobs:
- name: Delete branch remotely version-sync-branch (if exists)
run: |
git fetch --prune
git branch -r | grep version-sync-branch && git push origin --delete version-sync-branch
if git branch -r | grep -q 'origin/version-sync-branch'; then
git push origin --delete version-sync-branch
else
echo "Branch version-sync-branch does not exist."
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash

- name: Create new branch and commit version change
run: |
Expand Down

0 comments on commit e8bc5ef

Please sign in to comment.