Skip to content

Commit

Permalink
force update tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-bisonai committed May 27, 2024
1 parent b95ddbe commit 8b022c7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/image+upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,6 @@ jobs:
with:
fetch-depth: 0

- name: Determine the current branch
id: determine_branch
run: |
branch=$(git branch -r --contains $GITHUB_SHA | grep -v '\->' | grep -E 'origin/(main|master|develop|feature|fix)' | head -n 1 | sed 's|origin/||')
echo "branch=$branch" >> $GITHUB_ENV
echo "Determined branch: $branch"
- name: update package.json version
if: needs.prepare.outputs.version
run: |
Expand All @@ -155,7 +148,7 @@ jobs:
git config --global user.email '[email protected]'
git add package.json
git commit -m "chore: update package.json version to ${{ needs.prepare.outputs.version }}"
git push origin HEAD:${{ env.branch }}
git push -f --tags origin HEAD:${{ github.ref_name }}
post-slack-tag-update-success:
name: Post slack message for tag update success
Expand Down

0 comments on commit 8b022c7

Please sign in to comment.