Skip to content

Commit

Permalink
Assume version tag already contains '-mock*' suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
gcomte committed Mar 20, 2024
1 parent 3a29b61 commit b76accf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ concurrency:
on:
push:
tags:
- 'v*.*.*'
- 'v*.*.*-mock*'

env:
GITHUB_REF: ${{ github.ref }}
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
git commit -m "This commit was created automatically by the lipa bot"
git restore .
git pull --rebase
git tag -a ${{ env.RELEASE_VERSION }}${{ matrix.mock-deps && '-mock' || '' }} HEAD -m "This tag was created automatically by the lipa bot."
git tag -a ${{ env.RELEASE_VERSION }} HEAD -m "This tag was created automatically by the lipa bot."
git push
git push --tag
- name: Create release
Expand Down Expand Up @@ -322,7 +322,7 @@ jobs:
git add jitpack.yml
git commit -m "This commit was created automatically by the lipa bot"
git pull --rebase
git tag -a ${{ env.RELEASE_VERSION }}${{ matrix.mock-deps && '-mock' || '' }} HEAD -m "This tag was created automatically by the lipa bot."
git tag -a ${{ env.RELEASE_VERSION }} HEAD -m "This tag was created automatically by the lipa bot."
git push
git push --tag
- name: Create release
Expand Down

0 comments on commit b76accf

Please sign in to comment.