Skip to content

Commit

Permalink
COM-12579-3:
Browse files Browse the repository at this point in the history
*add \n in first line of default value of notes
*remove .gitignore|.pylintrc|.log|.github files in release/tag files creation
  • Loading branch information
rsanchez87 committed Nov 19, 2024
1 parent db77a8a commit 3d16c3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.gitignore export-ignore
.pylintrc export-ignore
.gitattributes export-ignore
.github export-ignore
*.log export-ignore
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
notes:
description: 'Release notes (e.g., changelog)'
required: false
default: 'Changelog: - Added feature 1\n- Added feature 2\n- Fixed issue 2'
default: 'Changelog: \n- Added feature 1\n- Added feature 2\n- Fixed issue 2'
push:
tags:
- 'v*.*.*'
Expand Down Expand Up @@ -99,6 +99,7 @@ jobs:
- name: Create GitHub Release
run: |
VERSION=${{ github.event.inputs.version }}
git archive --format=zip HEAD
gh release create v$VERSION \
--title "Release v$VERSION" \
--notes "$(cat notes.txt)"
Expand Down

0 comments on commit 3d16c3a

Please sign in to comment.