Skip to content

Commit

Permalink
chore: tag and release version
Browse files Browse the repository at this point in the history
  • Loading branch information
ebukaodini committed Mar 17, 2024
1 parent 94918db commit 0c16ebf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
# env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

# - name: Setup Git
# run: |
# git config --global user.name "GitHub Actions"
# git config --global user.email "github-actions@users.noreply.github.com"
# env:
# GITHUB_TOKEN: ${{ secrets.GH_PAT }}
- name: Setup Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "github-actions@users.noreply.github.com"
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

- name: Extract version
# if: steps.publish_to_npm.outcome == 'success'
Expand All @@ -54,8 +54,6 @@ jobs:

- name: Create and Release Tag
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "github-actions@users.noreply.github.com"
git tag v${{ steps.extract_version.outputs.version }}
git push origin v${{ steps.extract_version.outputs.version }}
env:
Expand Down

0 comments on commit 0c16ebf

Please sign in to comment.