Skip to content

Commit

Permalink
gd
Browse files Browse the repository at this point in the history
  • Loading branch information
danzuep committed Dec 5, 2023
1 parent 465261e commit 85ce50a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
shell: bash
run: |
echo "projectName=$(basename '${{ github.repository }}')" >> $GITHUB_ENV
echo "Project name: ${projectName}"
echo "Project name: $projectName"
shopt -s globstar
for project in ./**/*.csproj; do
echo "Project file: $project"
Expand All @@ -52,18 +52,18 @@ jobs:
- run: |
echo "Generate release notes from the Git commit log."
echo "## ${projectName}" > release-notes.txt
echo "## $projectName" > release-notes.txt
git log --pretty=format:"- %s" >> release-notes.txt
# # TODO: fix this
# - run: |
# echo "Generate release notes from the Git commit log."
# last_tag=$(git describe --abbrev=0 --tags 2>/dev/null)
# if [[ -z "$last_tag" ]]; then
# echo "## ${projectName}" > release-notes.txt
# echo "## $projectName" > release-notes.txt
# git log --pretty=format:"- %s" >> release-notes.txt
# else
# echo "## ${projectName} changes since $last_tag" > release-notes.txt
# echo "## $projectName changes since $last_tag" > release-notes.txt
# git log --pretty=format:"- %s" --since="$last_tag" >> release-notes.txt
# fi

Expand Down

0 comments on commit 85ce50a

Please sign in to comment.