Skip to content

Commit

Permalink
chore(ci): updated publish-release
Browse files Browse the repository at this point in the history
  • Loading branch information
jacques-trixta committed Sep 20, 2021
1 parent 9b10207 commit 03b9ce9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,14 @@ jobs:
id: tagger
uses: digital-ai/query-tag-action@v2
with:
include: '@trixtateam/trixta-js@*'
exclude: '*-rc*'
commit-ish: 'HEAD'
exact-match: 'true'

- name: Rename tag
run: |
release_tag="${tag//@trixtateam\/trixta-js@/trixtateam\/trixta-js-}"
echo $release_tag
echo "release_tag=$release_tag" >> $GITHUB_ENV
env:
tag: ${{ steps.tagger.outputs.tag }}

# Create Release Branch
- name: Create Branch
uses: peterjgrainger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: 'release/${{ env.release_tag }}'
branch: 'release/${{ steps.tagger.outputs.tag }}'

0 comments on commit 03b9ce9

Please sign in to comment.