Skip to content

Commit

Permalink
Updating standard content files for repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Contents authored and Auto Contents committed Apr 5, 2024
1 parent 7992d5d commit 2f381d7
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 3 deletions.
47 changes: 47 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Linux scripts
*.sh text diff=bash eol=lf encoding=utf-8

# Windows scripts
*.bat text eol=crlf encoding=utf-8
*.ps1 text eol=crlf encoding=utf-8

# Config files
*.conf text eol=lf encoding=utf-8

# Source code files
*.cs text diff=csharp eol=lf encoding=utf-8
*.py text diff=python eol=lf encoding=utf-8
*.cshtml text diff=html eol=lf encoding=utf-8
*.html text diff=html eol=lf encoding=utf-8
*.json text eol=lf encoding=utf-8
*.css text diff=css eol=lf encoding=utf-8
*.scss text diff=css eol=lf encoding=utf-8
*.js text eol=lf encoding=utf-8

# Text files
*.txt text eol=lf encoding=utf-8
*.md text diff=markdown eol=lf encoding=utf-8

# XML files
*.DotSettings text eol=lf encoding=utf-8
*.xml text eol=lf encoding=utf-8
*.targets text eol=lf encoding=utf-8
*.props text eol=lf encoding=utf-8
*.csproj text eol=lf encoding=utf-8
*.sln text eol=lf encoding=utf-8

# Other
*.yml text eol=lf encoding=utf-8
*.yaml text eol=lf encoding=utf-8

# Binary files
*.dll binary
*.dat binary
*.pfx binary

# Images
*.svg text eol=lf encoding=utf-8
*.png binary
*.jpg binary
*.png binary
*.gif binary
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ jobs:
# run: git fetch --depth=1 origin '+refs/tags/*:refs/tags/*'

- name: Get Previous Tag
id: previoustag
run: |
PREV_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
echo "PREV_TAG=$PREV_TAG" >> $GITHUB_ENV
- name: Generate Release Notes
id: generate_notes
run: |
COMPARE_LINK="https://github.com/${{ github.repository }}/compare/${{ env.PREV_TAG }}...${{ github.ref_name }}"
Expand All @@ -46,7 +44,6 @@ jobs:
git log --pretty=format:"- %h: %s" ${{ env.PREV_TAG }}...${{ github.ref_name }} >> release.md
- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
with:
bodyFile: release.md

0 comments on commit 2f381d7

Please sign in to comment.