Skip to content

Commit

Permalink
workflow: modified
Browse files Browse the repository at this point in the history
  • Loading branch information
forkimenjeckayang committed Jun 12, 2024
1 parent a281fb4 commit 4832504
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

# Set up Git with PAT for authentication
- name: Set up Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
# You may need additional setup steps depending on your project's needs

- name: Create Tag
run: git tag v1.0.0 # Replace with your desired tag name

- name: Push Tag
env:
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
run: |
git remote set-url origin https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}.git
git push --tags
run: git push --tags

- name: Create Release
id: create_release
Expand All @@ -40,3 +32,4 @@ jobs:
Release notes for v1.0.0
- Feature 1 implemented
- Bug fixes

0 comments on commit 4832504

Please sign in to comment.