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 84b05d8 commit 41dbcfd
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,33 @@ name: Create Release
on:
push:
branches:
- main # Trigger on push to the main branch

- main # Adjust the branch as needed

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v2

# 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
run: git push --tags

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }} # Optional: Customize the release name
body: "Automatic release for tag ${{ github.ref }}" # Optional: Release description
tag_name: v1.0.0 # Replace with the tag you created
release_name: Release v1.0.0 # Replace with your desired release name
body: |
Release notes for v1.0.0
- Feature 1 implemented
- Bug fixes

0 comments on commit 41dbcfd

Please sign in to comment.