Skip to content

Commit

Permalink
chore: fixed release (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
saurav0705 authored Mar 16, 2024
1 parent 831f80a commit 2f355f1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,15 @@ jobs:
- name: commit to main
shell: bash
run: |
git add .
git commit -m "${{env.CI_COMMIT_MESSAGE}}"
git tag -a ${{steps.version}} head -m "chore: released vserion ${{steps.version}}"
git push origin main
git push --tags origin main
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
tag: main
run: |
gh release create "${{steps.version}}" \
--title="Released Artifact ${{steps.version}}" \
gh release create "v${{steps.version.outputs.value}}" \
--title="Released Artifact v${{steps.version.outputs.value}}" \
--generate-notes \
--verify-tag
--verify-tag \
--draft

0 comments on commit 2f355f1

Please sign in to comment.